cszhzleo commited on
Commit
02fe577
1 Parent(s): 0fadc28

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- #CMD ["nginx", "-g", "daemon off;"]
 
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;"]