Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Georget committed Jan 2, 2025
1 parent fb0cfdc commit e1ed04d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -8,4 +11,4 @@ RUN python -m pip install -r requirements.txt

COPY nucs /nucs

CMD ["python", "-m", "nucs.examples.quasigroup"]
CMD $PYTHON_CMD

0 comments on commit e1ed04d

Please sign in to comment.