changes to Dockerfile for coolify
This commit is contained in:
+4
-10
@@ -1,10 +1,4 @@
|
|||||||
FROM busybox:1.37
|
FROM nginx:alpine
|
||||||
|
COPY . /usr/share/nginx/html/
|
||||||
WORKDIR /var/www/html
|
EXPOSE 80
|
||||||
|
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