Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -50,7 +50,8 @@ RUN chmod a+x /serve.sh
|
|
50 |
# Remove the user directive if present
|
51 |
RUN sed -i '/^user /d' /etc/nginx/nginx.conf
|
52 |
|
53 |
-
|
|
|
54 |
|
55 |
# Run as root user
|
56 |
USER root
|
|
|
50 |
# Remove the user directive if present
|
51 |
RUN sed -i '/^user /d' /etc/nginx/nginx.conf
|
52 |
|
53 |
+
# Expose port 8080
|
54 |
+
EXPOSE 8080
|
55 |
|
56 |
# Run as root user
|
57 |
USER root
|