File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ COPY ./src/ ./src/
7
7
COPY ./assets/ ./assets/
8
8
COPY ./locales/ ./locales/
9
9
10
- # Rust is needed for orjson
11
- RUN apk add --no-cache git python3 py3-pip rust cargo tini && \
10
+ RUN apk add --no-cache git python3 py3-setuptools tini && \
12
11
addgroup -g 1000 -S priviblur && \
13
12
adduser -u 1000 -S priviblur -G priviblur && \
14
- pip3 install --break-system-packages -r requirements.txt && \
13
+ apk add --no-cache py3-pip && \
14
+ pip3 install --no-cache-dir --break-system-packages -r requirements.txt && \
15
+ pip3 cache purge && \
16
+ apk del py3-pip && \
15
17
pybabel compile -d locales -D priviblur && \
16
18
# chown is needed otherwise git will error out with "fatal: detected dubious ownership in repository at '/priviblur'"
17
19
chown -R priviblur:priviblur /priviblur && \
You can’t perform that action at this time.
0 commit comments