From cf82249062f5d453c57accb77b8f4b473c712efa Mon Sep 17 00:00:00 2001 From: Surbhi Goel Date: Fri, 23 May 2025 15:11:29 +0100 Subject: [PATCH] Added a test Dockerfile that created an image successfully --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5fda78d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.12-slim + +WORKDIR /app + +COPY pyproject.toml . +COPY documentation documentation +COPY src/ src/ + +RUN apt-get update && apt-get install -y build-essential + +# Install dependencies using pip and pyproject.toml (via pip’s PEP 517 support) +RUN pip install --upgrade pip setuptools wheel +RUN pip install . + +ENTRYPOINT ["python", "src/dementpy.py"]