From e1ed04ded4aa19db671b738f9f9e55207f202c8f Mon Sep 17 00:00:00 2001 From: Yan Georget Date: Thu, 2 Jan 2025 17:24:45 +0100 Subject: [PATCH] fix Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d172e9a..408f729 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM python:3.12.8-slim +ARG NUCS_MODULE +ENV PYTHON_CMD="python -m $NUCS_MODULE" + COPY requirements.txt . RUN python -m pip install -r requirements.txt @@ -8,4 +11,4 @@ RUN python -m pip install -r requirements.txt COPY nucs /nucs -CMD ["python", "-m", "nucs.examples.quasigroup"] \ No newline at end of file +CMD $PYTHON_CMD \ No newline at end of file