zeit-dl/Dockerfile

18 lines
375 B
Docker

FROM python:3
MAINTAINER Leon Haag-Fank "admin@haagfank.de"
VOLUME /data
WORKDIR /usr/src/app
COPY docker-entrypoint.sh zeit-dl requirements.txt ./
RUN pip install -r requirements.txt
RUN playwright install chromium --with-deps
ENV ZEITDL_USER \
ZEITDL_PASSWORD \
ZEITDL_OPTIONS="-o /data" \
ZEITDL_UID \
ZEITDL_GID
ENTRYPOINT ["./docker-entrypoint.sh"]