diff --git a/.gitignore b/.gitignore index 283e7b6..6051bfb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __pycache__ .pytest_cache .coverage .ruff_cache -output.json \ No newline at end of file +output.json +data/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fac67dc..0fb5aeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12 +FROM python:3.12-alpine WORKDIR /code diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..35a556c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" +services: + reporter: + container_name: prom_reporter + build: . + volumes: + - ./data:/tmp + command: python app/main.py -c /tmp/config.yaml -o /tmp/output.json