Ian Fijolek
5783190f58
These are bundled within the Docker image to make it possible to alert on status of other Docker containers. Will potentially include other sets of "standard" scripts for convenience sake.
21 lines
426 B
Docker
21 lines
426 B
Docker
FROM python:3
|
|
LABEL maintainer="ian@iamthefij.com"
|
|
# Minitor: https://git.iamthefij.com/iamthefij/minitor
|
|
|
|
COPY ./sample-config.yml /app/config.yml
|
|
WORKDIR /app
|
|
|
|
# Expose default metrics port
|
|
EXPOSE 8080
|
|
|
|
# Copy Python package to container
|
|
COPY ./README.md /app/
|
|
COPY ./setup.py /app/
|
|
COPY ./minitor /app/minitor
|
|
RUN pip install -e .
|
|
|
|
# Copy scripts
|
|
COPY ./scripts /app/scripts
|
|
|
|
ENTRYPOINT [ "python3", "-m", "minitor.main" ]
|