Update Dockerfile

This commit is contained in:
fc-bot 2024-04-23 17:34:07 +00:00
parent b7ddcd45ae
commit 7753a97c28

View File

@ -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