mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
docker updates
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user