use latest python and update radicale version

This commit is contained in:
cupcakearmy 2022-02-07 12:14:42 +01:00
parent d77c8df24d
commit 1d24efa28b
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 6 additions and 4 deletions

View File

@ -1,12 +1,14 @@
FROM python:3.9-alpine as builder
FROM python:3-alpine as builder
WORKDIR /app
ARG RADICALE_VERSION=3.1.4
RUN apk add --no-cache alpine-sdk libffi-dev
RUN pip install --user radicale[bcrypt]~=3.0
RUN pip install --user radicale[bcrypt]==$RADICALE_VERSION
FROM python:3.9-alpine
FROM python:3-alpine
RUN apk add --no-cache apache2-utils
@ -24,4 +26,4 @@ VOLUME [ "/data" ]
EXPOSE 5232
CMD [ "/app/entrypoint.sh" ]
CMD [ "/app/entrypoint.sh" ]