hotdog/docker/Dockerfile

30 lines
619 B
Docker

# FROM a24bb4013296
FROM docker.io/library/alpine:latest
RUN apk upgrade --no-cache \
&& apk add --virtual build-deps --no-cache \
python3-dev \
gcc \
openssl-dev \
musl-dev \
olm-dev \
&& apk add --no-cache \
python3 \
py3-pip \
py3-cffi \
openssl \
musl \
musl-locales \
olm \
&& pip install -U pip matrix-nio[e2e] \
&& apk del --rdepends build-deps \
&& rm -rf /root/.cache
COPY requirements.txt /
RUN pip install -Ur /requirements.txt
COPY entrypoint.sh /
VOLUME ["/data"]
CMD "/entrypoint.sh"