Skip to content

Commit f20e3fc

Browse files
Merge pull request #9 from cloud-py-api/fix/docker/cache-dependencies
2 parents e54bf3e + 841c669 commit f20e3fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ FROM python:3.11-slim-bookworm
22

33
COPY requirements.txt /
44

5+
RUN \
6+
python3 -m pip install -r requirements.txt && rm -rf ~/.cache && rm requirements.txt
7+
58
ADD cs[s] /app/css
69
ADD im[g] /app/img
710
ADD j[s] /app/js
811
ADD l10[n] /app/l10n
912
ADD li[b] /app/lib
1013

11-
RUN \
12-
python3 -m pip install -r requirements.txt && rm -rf ~/.cache && rm requirements.txt
13-
1414
WORKDIR /app/lib
1515
ENTRYPOINT ["python3", "main.py"]

0 commit comments

Comments
 (0)