We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfb8b3 commit 3b580eaCopy full SHA for 3b580ea
Dockerfile
@@ -6,6 +6,8 @@ ENV PYTHONUNBUFFERED=1
6
7
WORKDIR /data
8
9
+RUN mkdir data cache
10
+
11
ARG UID=10001
12
RUN adduser \
13
--disabled-password \
@@ -16,6 +18,8 @@ RUN adduser \
16
18
--uid "${UID}" \
17
19
appuser
20
21
+RUN chown -R appuser:appuser data cache
22
23
RUN --mount=type=cache,target=/root/.cache/pip \
24
--mount=type=bind,source=requirements.txt,target=requirements.txt \
25
python -m pip install -r requirements.txt
0 commit comments