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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user