From 637dee98862e7c931c24a7f0c596fb10ba3299b5 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 3 Dec 2024 19:20:28 -0800 Subject: [PATCH] ci: Dockerfile json args recommended (#273) --- backend-py/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend-py/Dockerfile b/backend-py/Dockerfile index e86136c6..0b795234 100644 --- a/backend-py/Dockerfile +++ b/backend-py/Dockerfile @@ -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