Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -2,6 +2,7 @@ FROM nginx:latest
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
COPY --chown=user default.conf /etc/nginx/conf.d/default.conf
|
5 |
-
|
|
|
6 |
EXPOSE 7860
|
7 |
-
|
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
COPY --chown=user default.conf /etc/nginx/conf.d/default.conf
|
5 |
+
COPY --chown=user nginx.conf /etc/nginx/nginx.conf
|
6 |
+
|
7 |
EXPOSE 7860
|
8 |
+
CMD ["nginx", "-g", "daemon off;"]
|