diff --git a/Dockerfile b/Dockerfile index 77d8acca1c..a146affc96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,14 +23,16 @@ ENV TRAILBLAZER_SERVICE_ACCOUNT_AUTH_FILE="auth_file" WORKDIR /home/src/app -COPY pyproject.toml poetry.lock gunicorn.conf.py ./ +COPY pyproject.toml poetry.lock gunicorn.conf.py README.md ./ RUN pip install --no-cache-dir poetry \ && poetry config virtualenvs.create false \ - && poetry install --no-interaction --no-ansi + && poetry install --no-interaction --no-ansi --no-root COPY cg ./cg +RUN poetry install --no-interaction --no-ansi + CMD gunicorn \ --config gunicorn.conf.py \ cg.server.auto:app \ No newline at end of file