From daa9bcf5b631e7d07eeeb64cfd05fdcbceb184e4 Mon Sep 17 00:00:00 2001 From: Mridang Agarwalla Date: Sun, 13 Apr 2025 11:13:10 +0300 Subject: [PATCH] Added a Dockerfile to starting a REPL for testing purposes --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..1a4c480f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.12-slim + +WORKDIR /app + +RUN pip install --no-cache-dir poetry + +COPY pyproject.toml poetry.lock* ./ + +RUN poetry install --no-root + +COPY . . + +RUN poetry install + +CMD ["poetry", "run", "python"]