Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -100,7 +100,7 @@ RUN cd /tmp && \
|
|
| 100 |
# 创建nginx配置文件(修改端口为7860)
|
| 101 |
# 屏蔽警告?: nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
|
| 102 |
# RUN echo 'user nginx;' > /etc/nginx/nginx.conf && \
|
| 103 |
-
echo 'worker_processes auto;' >> /etc/nginx/nginx.conf && \
|
| 104 |
RUN echo 'worker_processes auto;' > /etc/nginx/nginx.conf && \
|
| 105 |
echo 'error_log /var/log/nginx/error.log;' >> /etc/nginx/nginx.conf && \
|
| 106 |
echo 'pid /var/run/nginx.pid;' >> /etc/nginx/nginx.conf && \
|
|
|
|
| 100 |
# 创建nginx配置文件(修改端口为7860)
|
| 101 |
# 屏蔽警告?: nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
|
| 102 |
# RUN echo 'user nginx;' > /etc/nginx/nginx.conf && \
|
| 103 |
+
# echo 'worker_processes auto;' >> /etc/nginx/nginx.conf && \
|
| 104 |
RUN echo 'worker_processes auto;' > /etc/nginx/nginx.conf && \
|
| 105 |
echo 'error_log /var/log/nginx/error.log;' >> /etc/nginx/nginx.conf && \
|
| 106 |
echo 'pid /var/run/nginx.pid;' >> /etc/nginx/nginx.conf && \
|