Skip to content

Commit

Permalink
Updated CMD call to uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Jul 31, 2024
1 parent 6e2caa4 commit 4be7251
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ghcr.io/cfpb/regtech/sbl/python-alpine:3.12

ENV UVICORN_LOG_LEVEL=info

WORKDIR /usr/app

RUN pip install poetry
Expand All @@ -18,4 +20,4 @@ EXPOSE 8888

USER sbl

CMD ["uvicorn", "regtech_user_fi_management.main:app", "--host", "0.0.0.0", "--port", "8888", "--log-config", "log-config.yml"]
CMD uvicorn regtech_user_fi_management.main:app --host 0.0.0.0 --port 8888 --log-config log-config.yml --log-level $UVICORN_LOG_LEVEL --timeout-keep-alive 65

0 comments on commit 4be7251

Please sign in to comment.