hotdog/docker/Dockerfile

31 lines
623 B
Text
Raw Normal View History

2020-11-01 16:31:37 +01:00
# 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]' \
2020-11-01 16:31:37 +01:00
&& 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"]