fix dockerfile

This commit is contained in:
Ishaan Jaff 2024-08-20 15:38:11 -07:00
parent a4f9ba4a88
commit 143bbe32cb
3 changed files with 81 additions and 10 deletions

View file

@ -62,11 +62,6 @@ COPY --from=builder /wheels/ /wheels/
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
# Generate prisma client
ENV PRISMA_BINARY_CACHE_DIR=/app/prisma
RUN mkdir -p /.cache
RUN chmod -R 777 /.cache
RUN pip install nodejs-bin
RUN pip install prisma
RUN prisma generate
RUN chmod +x entrypoint.sh