mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
15 lines
381 B
Docker
15 lines
381 B
Docker
FROM python:2.7-alpine
|
|
MAINTAINER Mitsuo Takaki <mitsuotakaki@gmail.com>
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt /usr/src/app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY cachet_url_monitor/* /usr/src/app/cachet_url_monitor/
|
|
|
|
COPY config.yml /usr/src/app/config/
|
|
VOLUME /usr/src/app/config/
|
|
|
|
CMD ["python", "cachet_url_monitor/scheduler.py", "config/config.yml"]
|