revert
This commit is contained in:
+10
-4
@@ -1,4 +1,10 @@
|
|||||||
FROM nginx:alpine
|
FROM busybox:1.37
|
||||||
COPY . /usr/share/nginx/html/
|
|
||||||
EXPOSE 80
|
WORKDIR /var/www/html
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
|
||||||
|
USER www-data
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Run BusyBox httpd on port 8080
|
||||||
|
CMD ["busybox", "httpd", "-f", "-v", "-p", "8080"]
|
||||||
|
|||||||
Reference in New Issue
Block a user