Skip to content

Commit

Permalink
ci: Dockerfile json args recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Dec 4, 2024
1 parent 70407d6 commit bc33dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend-py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ COPY ./src ./src
# Start with non-privileged user
HEALTHCHECK --interval=300s --timeout=10s CMD curl -f http://localhost:${PORT}
USER 1001
CMD uvicorn src.main:app --host 0.0.0.0 --port ${PORT} --workers 1 --server-header --date-header --limit-concurrency 1000 --log-config ./logger.conf
SHELL ["/bin/bash", "-c"]
ENTRYPOINT uvicorn src.main:app --host 0.0.0.0 --port ${PORT} --workers 1 --server-header --date-header --limit-concurrency 1000 --log-config ./logger.conf

0 comments on commit bc33dd6

Please sign in to comment.