FritzAB2Matrix/docker/Dockerfile

29 lines
599 B
Docker

# syntax=docker/dockerfile:1
FROM python:alpine
ENV TZ=Europe/Berlin
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 \
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;
ENTRYPOINT ["python3", "-u", "fritzab2matrix.py "]