minitor/Dockerfile

17 lines
347 B
Docker
Raw Permalink Normal View History

2018-03-16 21:20:03 +00:00
FROM python:3
LABEL maintainer="ian@iamthefij.com"
# Minitor: https://git.iamthefij.com/iamthefij/minitor
2018-03-16 21:20:03 +00:00
COPY ./sample-config.yml /app/config.yml
2018-03-16 21:20:03 +00:00
WORKDIR /app
# Expose default metrics port
EXPOSE 8080
COPY ./README.md /app/
COPY ./setup.py /app/
COPY ./minitor /app/minitor
RUN pip install -e .
ENTRYPOINT [ "python3", "-m", "minitor.main" ]