FritzAB2Matrix/docker/Dockerfile

30 lines
613 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
FROM python:alpine
ENV TZ=Europe/Berlin
2021-07-10 09:08:58 +02:00
ENV UNBUFFERED=1
WORKDIR /app
VOLUME /app
COPY . .
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone; \
apk --no-cache update && apk add --no-cache --virtual .build-deps \
gcc \
cargo \
libffi-dev \
openssl-dev \
olm-dev \
zlib-dev \
jpeg-dev ; \
apk add --no-cache ffmpeg speex; \
pip install --no-cache-dir upgrade pip; \
pip install --no-cache-dir -r requirements.txt ; \
apk del --no-cache .build-deps;
2021-07-10 09:08:58 +02:00
ENTRYPOINT ["python3", "-u", "fritzab2matrix.py "]