From acf77438f3dd68f6cb6d398f2e909228ad50489a Mon Sep 17 00:00:00 2001 From: Mitsuo Takaki Date: Mon, 2 May 2016 20:36:24 -0700 Subject: [PATCH] Adding Dockerfile and docker-compose.yml to integrate it with docker --- Dockerfile | 6 ++++++ docker-compose.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b0f471 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM python:2-onbuild +MAINTAINER Mitsuo Takaki + +VOLUME /usr/src/app/ + +ENTRYPOINT ["python", "cachet_url_monitor/scheduler.py", "config.yml"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..511cde9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +version: '2' +services: + monitor: + build: . + volumes: + - .:/usr/src/app/