21 lines
442 B
Docker
21 lines
442 B
Docker
FROM alpine:latest
|
|
|
|
EXPOSE 80
|
|
|
|
COPY install.sh /install.sh
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
RUN mkdir -p /srv/cfg
|
|
|
|
RUN apk add bash
|
|
RUN apk add git
|
|
RUN apk add thttpd
|
|
RUN apk add python3
|
|
RUN apk add py-pip
|
|
# tutta questa merda per compilare delle dipendenze pip di caldav, ma io dico
|
|
RUN apk add gcc py3-wheel libxml2-dev libxslt-dev libc-dev python3-dev
|
|
|
|
COPY thttpd.conf /srv/thttpd.conf
|
|
RUN bash install.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"] |