Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files50 unmodified lines51525354555657585950 unmodified linesRUN mkdir -p /var/log/kkfileview /opt/kkFileView/file && \chmod -R 755 /var/log/kkfileview /opt/kkFileView# 4. Nginx 配置RUN rm -rf /etc/nginx/sites-enabled/* /etc/nginx/conf.d/* && \printf 'user nginx;\n\worker_processes 2;\n\worker_cpu_affinity 01 10;\n\worker_priority -5;\n\50 unmodified lines51525354555657585950 unmodified linesRUN mkdir -p /var/log/kkfileview /opt/kkFileView/file && \chmod -R 755 /var/log/kkfileview /opt/kkFileView# 4. Nginx 配置(性能优化版 - 以 root 运行)RUN rm -rf /etc/nginx/sites-enabled/* /etc/nginx/conf.d/* && \printf 'worker_processes 2;\n\worker_processes 2;\n\worker_cpu_affinity 01 10;\n\worker_priority -5;\n\
Dockerfile+2-2