Ver código fonte

gunicorn日志

haha 3 anos atrás
pai
commit
dc05495a3f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -19,5 +19,5 @@ RUN pip3 install virtualenv \
 RUN cd /home/SEEC-Judge \
     && python3 setup.py install
 WORKDIR /home/SEEC-Judge/web
-CMD ["gunicorn","-w", "1", "-b", "0.0.0.0:5000", "app:app"]
+CMD ["gunicorn","-w", "1", "-b", "0.0.0.0:5000", "app:app","--access-logfile","acc.log","--error-logfile","err.log"]