Update Dockerfile
This commit is contained in:
parent
b7ddcd45ae
commit
7753a97c28
|
|
@ -20,7 +20,7 @@ RUN /venv/bin/pip install -U Flask waitress gunicorn
|
|||
# Check if requirements.txt exists before copying
|
||||
# If the path exists, copy requirements.txt into the builder stage
|
||||
# Using glob pattern so that build does not fail if requirements.txt does not exist
|
||||
COPY requirements.tx[t] /requirements.txt
|
||||
COPY requirements.txt /requirements.txt
|
||||
|
||||
### DEFAULT BOOTSTRAP BUILD CODE, RUN LOCALLY TO GENERATE requirements.txt ###
|
||||
# If requirements.txt exists and not empty, install the listed packages
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user