Select Git revision
Forked from
Uni-Film-Club / Programm-Info-Bot
Source project has a limited visibility.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 406 B
FROM python:3-alpine
RUN apk upgrade --available --update
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apk add --no-cache build-base && \
pip install --no-cache-dir -r requirements.txt && \
apk del build-base
COPY src .
COPY run.sh /usr/local/bin/run.sh
COPY crontab /var/spool/cron/crontabs/programbot
RUN chmod +x /usr/local/bin/run.sh
RUN apk add --no-cache msmtp
CMD ["crond", "-f"]