Select Git revision
json_export.py
Forked from
KIF / AKPlanning
Source project has a limited visibility.
-
Benjamin Hättasch authored
This remove the AKTags model and its usage in views, forms, templates, translations, and backup script This implements #164
Benjamin Hättasch authoredThis remove the AKTags model and its usage in views, forms, templates, translations, and backup script This implements #164
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 498 B
FROM python:3-alpine
RUN apk upgrade --available --update
RUN apk add --no-cache msmtp tzdata
RUN adduser --uid 1000 --disabled-password bot bot
COPY requirements.txt /usr/src/app/requirements.txt
RUN apk add --no-cache build-base && \
pip install --no-cache-dir -r /usr/src/app/requirements.txt && \
apk del build-base
COPY src /usr/src/app
COPY run.sh /usr/local/bin/run.sh
COPY crontab /var/spool/cron/crontabs/bot
RUN chmod +x /usr/local/bin/run.sh
CMD ["crond", "-f", "-l", "0"]