mirror of
https://github.com/cupcakearmy/docker-radicale.git
synced 2024-12-21 23:46:24 +00:00
use latest python and update radicale version
This commit is contained in:
parent
d77c8df24d
commit
1d24efa28b
10
Dockerfile
10
Dockerfile
@ -1,12 +1,14 @@
|
|||||||
FROM python:3.9-alpine as builder
|
FROM python:3-alpine as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG RADICALE_VERSION=3.1.4
|
||||||
|
|
||||||
RUN apk add --no-cache alpine-sdk libffi-dev
|
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
|
RUN apk add --no-cache apache2-utils
|
||||||
|
|
||||||
@ -24,4 +26,4 @@ VOLUME [ "/data" ]
|
|||||||
|
|
||||||
EXPOSE 5232
|
EXPOSE 5232
|
||||||
|
|
||||||
CMD [ "/app/entrypoint.sh" ]
|
CMD [ "/app/entrypoint.sh" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user