diff options
| -rw-r--r-- | Dockerfile | 12 | 
1 files changed, 6 insertions, 6 deletions
| @@ -3,12 +3,6 @@ FROM python:3.9-slim  # Allow service to handle stops gracefully  STOPSIGNAL SIGQUIT -# Set Git SHA build argument -ARG git_sha="development" - -# Set Git SHA environment variable -ENV GIT_SHA=$git_sha -  # Install C compiler and make  RUN apt-get update && \      apt-get install -y gcc make && \ @@ -29,5 +23,11 @@ RUN poetry install --no-dev  WORKDIR /app  COPY . . +# Set Git SHA build argument +ARG git_sha="development" + +# Set Git SHA environment variable +ENV GIT_SHA=$git_sha +  # Start the server with uvicorn  CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "backend:app"] | 
