Fix bash evaluation in Dockerfile entrypoint
This commit is contained in:
parent
ee77081caf
commit
c2dd5caf52
1 changed files with 1 additions and 8 deletions
|
@ -6,11 +6,4 @@ RUN pip3 install -r requirements.txt
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
ENTRYPOINT ["gunicorn", "wsgi:app", \
|
ENTRYPOINT ["/bin/bash", "-c", "gunicorn wsgi:app --bind 0.0.0.0:8000 --env CAPTCHA_CLIENT_KEY=$CAPTCHA_CLIENT_KEY --env CAPTCHA_SERVER_KEY=$CAPTCHA_SERVER_KEY --env OF_INSTANCE=$OF_INSTANCE --env OF_ADMIN_EMAIL=$OF_ADMIN_EMAIL --env OF_ADMIN_PASSWORD=$OF_ADMIN_PASSWORD"]
|
||||||
"--bind", "0.0.0.0:8000", \
|
|
||||||
"--env", "CAPTCHA_CLIENT_KEY=$CAPTCHA_CLIENT_KEY", \
|
|
||||||
"--env", "CAPTCHA_SERVER_KEY=$CAPTCHA_SERVER_KEY", \
|
|
||||||
"--env", "OF_INSTANCE=$OF_INSTANCE", \
|
|
||||||
"--env", "OF_ADMIN_EMAIL=$OF_ADMIN_EMAIL", \
|
|
||||||
"--env", "OF_ADMIN_PASSWORD=$OF_ADMIN_PASSWORD" \
|
|
||||||
]
|
|
||||||
|
|
Loading…
Reference in a new issue