Skip to content

Commit b6ac85d

Browse files
committed
chore: replace CMD with ENTRYPOINT in Dockerfile & add --no-cache-dir to pip
1 parent f115e5a commit b6ac85d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM python:3.13-alpine
22

33
COPY ./requirements /requirements
4-
RUN pip install -r requirements/prod.txt
4+
RUN pip install --no-cache-dir -r requirements/prod.txt
55
RUN rm -rf requirements
66

77
COPY ./tfinance /tfinance/
88
WORKDIR /tfinance
99

10-
CMD ["python", "main.py"]
10+
ENTRYPOINT ["python", "main.py"]

0 commit comments

Comments
 (0)