Moving the config to its own folder so it works better with docker, when mounting the local folder. Adding more documentation about running in docker.

This commit is contained in:
Mitsuo Takaki
2016-05-02 23:07:32 -07:00
parent b5d87bef68
commit bcc2e2cf19
2 changed files with 22 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
FROM python:2-onbuild
MAINTAINER Mitsuo Takaki <mitsuotakaki@gmail.com>
VOLUME /usr/src/app/
COPY config.yml /usr/src/app/config/
VOLUME /usr/src/app/config/
ENTRYPOINT ["python", "cachet_url_monitor/scheduler.py", "config.yml"]
ENTRYPOINT ["python", "cachet_url_monitor/scheduler.py", "config/config.yml"]