Select Git revision
json_export.py
Forked from
KIF / AKPlanning
Source project has a limited visibility.
-
Benjamin Hättasch authored
This consists of a bash script to call and prepare as well as a python script to process the dump created by django and restrict it to the entries related to the event
Benjamin Hättasch authoredThis consists of a bash script to call and prepare as well as a python script to process the dump created by django and restrict it to the entries related to the event
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"]