Skip to content

Commit 9d83076

Browse files
committed
Further optimize
1 parent 295c4d9 commit 9d83076

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ COPY --from=generate-requirements /app/requirements.txt ./
1717
RUN ["python3", "-m", "venv", "/venv"]
1818
ENV PATH="/venv/bin:$PATH"
1919
RUN ["python3", "-m", "pip", "install", "-r", "requirements.txt"]
20+
RUN ["rm", "Pipfile", "Pipfile.lock"]
2021

2122
FROM python:3.12-slim as production
2223
COPY --from=build /venv /venv

0 commit comments

Comments
 (0)