Fixing user and comments
This commit is contained in:
+2
-6
@@ -1,14 +1,10 @@
|
|||||||
FROM busybox:1.37
|
FROM busybox:1.37
|
||||||
|
|
||||||
RUN adduser -D static
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
# USER static
|
|
||||||
# WORKDIR /home/static
|
|
||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
WORKDIR /var/www/html
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Run BusyBox httpd
|
# Run BusyBox httpd on port 8080
|
||||||
CMD ["busybox", "httpd", "-f", "-v", "-p", "8080"]
|
CMD ["busybox", "httpd", "-f", "-v", "-p", "8080"]
|
||||||
|
|||||||
Reference in New Issue
Block a user