Skip to content

Commit ed399ec

Browse files
committed
feat: add Dockerfile for Python 3.13 with Pipenv setup
1 parent a436500 commit ed399ec

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

dockerfiles/python-3.13.Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM python:3.13-alpine
2+
3+
RUN pip install --no-cache-dir "pipenv>=2024.4.0"
4+
5+
COPY Pipfile /app/Pipfile
6+
COPY Pipfile.lock /app/Pipfile.lock
7+
8+
WORKDIR /app
9+
10+
ENV WORKON_HOME=/venvs
11+
12+
RUN pipenv install
13+
14+
# Force environment creation
15+
RUN pipenv run python3 -c "1+1"
16+
17+
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Pipfile,Pipfile.lock"

0 commit comments

Comments
 (0)