ID:FCLD-228;DONE:7;HOURS:7; system file gen test in builder

This commit is contained in:
Sameer Dev 2024-04-23 22:46:40 +05:30
parent 816b2cd2a1
commit b7ddcd45ae

View File

@ -25,7 +25,7 @@ COPY requirements.tx[t] /requirements.txt
### DEFAULT BOOTSTRAP BUILD CODE, RUN LOCALLY TO GENERATE requirements.txt ###
# If requirements.txt exists and not empty, install the listed packages
# If it doesn't exist or is empty, print a message and skip the installation
RUN if [ -s requirements.txt ]; then \
RUN if [ -s /requirements.txt ]; then \
/venv/bin/pip install --disable-pip-version-check -r /requirements.txt; \
else \
echo "No requirements.txt found, skipping installation"; \