Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -12
Dockerfile
CHANGED
@@ -1,16 +1,6 @@
|
|
1 |
-
FROM
|
2 |
-
|
3 |
-
RUN apk add --no-cache shadow \
|
4 |
-
&& groupadd sudo \
|
5 |
-
&& useradd -m drx -u 1000 \
|
6 |
-
&& echo 'drx:1000' | chpasswd \
|
7 |
-
&& usermod -aG sudo drx
|
8 |
-
RUN chown -R drx:drx / 2>/dev/null || true
|
9 |
-
USER 1000
|
10 |
-
RUN apk add sudo
|
11 |
-
RUN sudo apk add nginx supervisor
|
12 |
COPY box /usr/bin/box
|
13 |
-
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
14 |
COPY nginx.conf /etc/nginx/nginx.conf
|
15 |
COPY config.json /etc/config.json
|
16 |
COPY entrypoint.sh /entrypoint.sh
|
|
|
1 |
+
FROM debian
|
2 |
+
RUN apt install nginx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
COPY box /usr/bin/box
|
|
|
4 |
COPY nginx.conf /etc/nginx/nginx.conf
|
5 |
COPY config.json /etc/config.json
|
6 |
COPY entrypoint.sh /entrypoint.sh
|