diff --git a/Dockerfile.database b/Dockerfile.database index afd3013691..61b22c27bc 100644 --- a/Dockerfile.database +++ b/Dockerfile.database @@ -45,7 +45,8 @@ COPY --from=builder /app/dist/*.whl . COPY --from=builder /wheels/ /wheels/ # Install the built wheel using pip; again using a wildcard if it's the only file -RUN pip install *.whl \ +RUN pip install --no-cache-dir --find-links=/wheels/ -r requirements.txt \ + && pip install *.whl \ && rm -f *.whl # Generate prisma client