File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ FROM python:3-alpine
17
17
18
18
WORKDIR /app
19
19
20
- RUN adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password \
20
+ RUN addgroup -g 1000 radicale \
21
+ && adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password -G radicale \
21
22
&& apk add --no-cache ca-certificates openssl
22
23
23
- COPY --chown=radicale --from=builder /app/venv /app
24
+ COPY --chown=radicale:radicale --from=builder /app/venv /app
24
25
25
26
# Persistent storage for data
26
27
VOLUME /var/lib/radicale
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ FROM python:3-alpine
15
15
16
16
WORKDIR /app
17
17
18
- RUN adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password \
18
+ RUN addgroup -g 1000 radicale \
19
+ && adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password -G radicale \
19
20
&& apk add --no-cache ca-certificates openssl
20
21
21
- COPY --chown=radicale --from=builder /app/venv /app
22
+ COPY --chown=radicale:radicale --from=builder /app/venv /app
22
23
23
24
# Persistent storage for data
24
25
VOLUME /var/lib/radicale
@@ -28,4 +29,4 @@ EXPOSE 5232
28
29
ENTRYPOINT [ "/app/bin/python", "/app/bin/radicale"]
29
30
CMD ["--hosts", "0.0.0.0:5232"]
30
31
31
- USER radicale
32
+ USER radicale
You can’t perform that action at this time.
0 commit comments