(fix) run prisma generate in default dockerfile

This commit is contained in:
ishaan-jaff 2024-03-14 09:10:56 -07:00
parent ebfefe61ea
commit dd6138ecbf

View file

@ -56,6 +56,8 @@ COPY --from=builder /wheels/ /wheels/
# Install the built wheel using pip; again using a wildcard if it's the only file # Install the built wheel using pip; again using a wildcard if it's the only file
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
# Generate prisma client
RUN prisma generate
RUN chmod +x entrypoint.sh RUN chmod +x entrypoint.sh
EXPOSE 4000/tcp EXPOSE 4000/tcp