docker updates

This commit is contained in:
Jakub Miazek
2022-05-22 14:29:15 +02:00
parent 9482465592
commit d7ca8bdf51
2 changed files with 5 additions and 5 deletions

View File

@@ -11,10 +11,10 @@ RUN set -ex && pip install --upgrade pip
RUN set -ex && pip install -r requirements.txt
FROM builder as final
WORKDIR /app
COPY ./the_app/ /app/
COPY ./tests/ /app/
COPY .env /app/
WORKDIR /code
COPY ./the_app/ /code/
COPY ./tests/ /code/
COPY .env /code/
RUN set -ex && bash -c "eval $(grep 'PYTHONDONTWRITEBYTECODE' .env)"
RUN set -ex && bash -c "eval $(grep 'PYTHONUNBUFFERED' .env)"