選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
22 行
423 B
Docker
22 行
423 B
Docker
ARG DISTRO=alpine:3.14
|
|
FROM $DISTRO
|
|
|
|
# python3 shared with most images
|
|
RUN apk add --no-cache \
|
|
python3 py3-pip bash \
|
|
&& pip3 install --upgrade pip
|
|
|
|
# Image specific layers under this line
|
|
RUN apk add --no-cache curl \
|
|
&& pip3 install radicale~=3.0
|
|
|
|
|
|
COPY radicale.conf /radicale.conf
|
|
|
|
EXPOSE 5232/tcp
|
|
VOLUME ["/data"]
|
|
|
|
CMD radicale -S -C /radicale.conf
|
|
|
|
HEALTHCHECK CMD curl -f -L http://localhost:5232/ || exit 1
|