Fixing user and comments

This commit is contained in:
X3MBoy
2025-02-04 10:58:48 -03:00
parent b3d662b80f
commit 428a2aa8d1
+2 -6
View File
@@ -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"]