Skip to content

Instantly share code, notes, and snippets.

@berkus
Created June 18, 2019 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berkus/baf67b4a22672a99d885326ab3db05f6 to your computer and use it in GitHub Desktop.
Save berkus/baf67b4a22672a99d885326ab3db05f6 to your computer and use it in GitHub Desktop.
# See https://news.ycombinator.com/item?id=20213092
FROM python:3
ARG VERSION=2.1.1.0
RUN pip install pytz passlib bcrypt radicale==$VERSION
ENV RADICALE_CONFIG /etc/radicale/config
RUN mkdir -p /etc/radicale
COPY config $RADICALE_CONFIG
VOLUME /radicale
EXPOSE 8080
CMD ["radicale"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment