Skip to content
Snippets Groups Projects
Select Git revision
  • a801560d29a46a47203262ee9be0e31a99e532f9
  • master default protected
  • datepicker-non-cdn
  • dev-and-graphics
  • readable-ak-times
  • feature-constraint-checking-wip
  • feature-constraint-checking
7 results

manage.py

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    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"]