|
@@ -18,7 +18,7 @@ WORKDIR /app
|
|
|
RUN adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password \
|
|
RUN adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password \
|
|
|
&& apk add --no-cache ca-certificates openssl
|
|
&& apk add --no-cache ca-certificates openssl
|
|
|
|
|
|
|
|
-COPY --chown=radicale --from=builder /app/venv /app
|
|
|
|
|
|
|
+COPY --chown=radicale:nogroup --from=builder /app/venv /app
|
|
|
|
|
|
|
|
# Persistent storage for data
|
|
# Persistent storage for data
|
|
|
VOLUME /var/lib/radicale
|
|
VOLUME /var/lib/radicale
|
|
@@ -28,4 +28,4 @@ EXPOSE 5232
|
|
|
ENTRYPOINT [ "/app/bin/python", "/app/bin/radicale"]
|
|
ENTRYPOINT [ "/app/bin/python", "/app/bin/radicale"]
|
|
|
CMD ["--hosts", "0.0.0.0:5232"]
|
|
CMD ["--hosts", "0.0.0.0:5232"]
|
|
|
|
|
|
|
|
-USER radicale
|
|
|
|
|
|
|
+USER radicale
|