use volumes instead of copying application files

This change drastically reduces the amount of rebuilding required during
application development and debugging stages.
This commit is contained in:
2024-10-28 14:08:23 +02:00
parent fc6775ed2e
commit 8b7e93bd67
2 changed files with 2 additions and 2 deletions

View File

@@ -9,6 +9,4 @@ COPY ./requirements.txt /app/requirements.txt
RUN python -m pip install -r requirements.txt
COPY ./app/ /app/app/
CMD flask run -h 0.0.0.0 -p $PORT