Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Aug 1, 2024
1 parent d72ffc8 commit 58b3c1f
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/src

RUN pip install poetry
Expand All @@ -15,4 +17,4 @@ EXPOSE 8765

USER sbl

CMD ["uvicorn", "regtech_mail_api.api:app", "--host", "0.0.0.0", "--port", "8765", "--log-config", "log-config.yml"]
CMD uvicorn regtech_mail_api.api:app --host 0.0.0.0 --port 8765 --log-config log-config.yml --log-level $UVICORN_LOG_LEVEL

0 comments on commit 58b3c1f

Please sign in to comment.