Skip to content

Commit

Permalink
try like this
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Nov 21, 2024
1 parent e9568d2 commit 86af512
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ ENV GUNICORN_THREADS=1
ENV GUNICORN_BIND="0.0.0.0:8000"
ENV GUNICORN_TIMEOUT=400

CMD [
"gunicorn",
"--workers=${GUNICORN_WORKERS}",
"--worker-class=uvicorn.workers.UvicornWorker",
"--bind=${GUNICORN_BIND}",
"--threads=${GUNICORN_THREADS}",
"--timeout=${GUNICORN_TIMEOUT}",
"--proxy-protocol",
"--forwarded-allow-ips=10.0.2.100,127.0.0.1",
"--log-syslog",
"--access-logfile", "-",
"--error-logfile", "-",
"--log-level=debug",
"preClinVar.main:app"
CMD [ \
"gunicorn", \
"--workers=${GUNICORN_WORKERS}", \
"--worker-class=uvicorn.workers.UvicornWorker", \
"--bind=${GUNICORN_BIND}", \
"--threads=${GUNICORN_THREADS}", \
"--timeout=${GUNICORN_TIMEOUT}", \
"--proxy-protocol", \
"--forwarded-allow-ips=10.0.2.100,127.0.0.1", \
"--log-syslog", \
"--access-logfile", "-", \
"--error-logfile", "-", \
"--log-level=debug", \
"preClinVar.main:app" \
]

0 comments on commit 86af512

Please sign in to comment.