(fix) echo DB URL

This commit is contained in:
ishaan-jaff 2024-01-09 13:30:49 +05:30
parent 358a44ce13
commit 8f8237a1a0
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,7 @@ RUN pip install --no-cache-dir --find-links=/wheels/ -r requirements.txt \
&& rm -f *.whl
# if user has set os.environ['DATABASE_URL'] != None, run prisma generate
RUN echo "DATABASE_URL is set to: $DATABASE_URL"
RUN if [ -n "$DATABASE_URL" ]; then \
echo "DATABASE_URL is set to: $DATABASE_URL"; \
prisma generate; \