Skip to content

Commit 8651561

Browse files
committed
Make Python version configurable in Dockerfile
Introduced PYTHON_VERSION build argument to allow specifying the Python version when building the Docker image.
1 parent 6a41af3 commit 8651561

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM python:3.11.9-slim-bullseye
1+
ARG PYTHON_VERSION=3.11.9
2+
FROM python:${PYTHON_VERSION}-slim-bullseye
23

34
RUN apt-get update
45
RUN pip install poetry

0 commit comments

Comments
 (0)