Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Created January 8, 2015 11:29
Show Gist options
  • Select an option

  • Save martinrusev/e0ec822c683f4c6b1981 to your computer and use it in GitHub Desktop.

Select an option

Save martinrusev/e0ec822c683f4c6b1981 to your computer and use it in GitHub Desktop.
FROM martinrusev/amon:latest
COPY requirements.txt /var/requirements.txt
RUN pip install -r /var/requirements.txt
COPY crontab.txt /var/crontab.txt
RUN crontab /var/crontab.txt
RUN chmod 600 /etc/crontab
COPY supervisord.conf /etc/supervisord.conf
EXPOSE 8000
CMD ["/usr/local/bin/supervisord"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment