Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • renovate/configure
2 results

ControlFlowGraph.svelte

Blame
  • 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"]