From 5b5a6ae9704e1b7f4733b3708d71efe60e5e4343 Mon Sep 17 00:00:00 2001 From: Matias Alvarez Sabate Date: Mon, 29 Dec 2025 15:22:53 -0300 Subject: [PATCH] Add Dockerfile with Graphviz support --- .dockerignore | 20 ++++++++++++++++++++ Dockerfile | 12 ++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..cb32c4c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,20 @@ +#virtual environment +env/ +venv/ +.venv/ + +# Python +__pycache__/ +*.pyc + +# Git +.git +.gitignore + +# Outputs locales +results/ +output_*.csv + +# IDE +.vscode/ +.idea/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..32f7b75 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.10-slim + +RUN apt-get update \ + && apt-get install -y --no-install-recommends graphviz \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /app +COPY . . + +RUN pip install --no-cache-dir requests graphviz reportlab + +CMD ["python", "pyfrc2g.py"]