This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile to run the cron jobs in root, including python/psycopg2 | |
FROM alpine:edge | |
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py-psycopg2 | |
EXPOSE 6000 | |
COPY refresh.py /refresh.py | |
COPY root /var/spool/cron/crontabs/root | |
CMD crond -l 2 -f |