From c05007e7f1d7f3dcdee7c09ef2bf6ab3fa2c62b4 Mon Sep 17 00:00:00 2001 From: Matvey Kukuy Date: Wed, 20 Nov 2024 17:24:03 +0200 Subject: [PATCH] entrypoint.sh --- docker/Dockerfile.api | 2 +- docker/Dockerfile.dev.api | 2 +- keep/{entrypoint_backend.sh => entrypoint.sh} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename keep/{entrypoint_backend.sh => entrypoint.sh} (100%) diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 095b0f8a5..9e000384e 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -36,6 +36,6 @@ RUN chown -R keep:keep /app RUN chown -R keep:keep /venv USER keep -ENTRYPOINT ["/venv/lib/python3.11/site-packages/keep/entrypoint_backend.sh"] +ENTRYPOINT ["/venv/lib/python3.11/site-packages/keep/entrypoint.sh"] CMD ["gunicorn", "keep.api.api:get_app", "--bind" , "0.0.0.0:8080" , "--workers", "4" , "-k" , "uvicorn.workers.UvicornWorker", "-c", "/venv/lib/python3.11/site-packages/keep/api/config.py"] diff --git a/docker/Dockerfile.dev.api b/docker/Dockerfile.dev.api index 76a323844..d65863579 100644 --- a/docker/Dockerfile.dev.api +++ b/docker/Dockerfile.dev.api @@ -22,6 +22,6 @@ ENV PYTHONPATH="/app:${PYTHONPATH}" ENV PATH="/venv/bin:${PATH}" ENV VIRTUAL_ENV="/venv" -ENTRYPOINT ["/app/keep/entrypoint_backend.sh"] +ENTRYPOINT ["/app/keep/entrypoint.sh"] CMD ["gunicorn", "keep.api.api:get_app", "--bind" , "0.0.0.0:8080" , "--workers", "1" , "-k" , "uvicorn.workers.UvicornWorker", "-c", "./keep/api/config.py", "--reload"] diff --git a/keep/entrypoint_backend.sh b/keep/entrypoint.sh similarity index 100% rename from keep/entrypoint_backend.sh rename to keep/entrypoint.sh