-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update python version to 3.12 in configuration files and Docke…
…rfile
- Loading branch information
1 parent
198fe05
commit 90dd6b8
Showing
4 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM python:3.12-alpine | ||
|
||
RUN pip install --no-cache-dir "pipenv>=2023.12.1" | ||
|
||
COPY Pipfile /app/Pipfile | ||
COPY Pipfile.lock /app/Pipfile.lock | ||
|
||
WORKDIR /app | ||
|
||
ENV WORKON_HOME=/venvs | ||
|
||
RUN pipenv install | ||
|
||
# Force environment creation | ||
RUN pipenv run python3 -c "1+1" | ||
|
||
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Pipfile,Pipfile.lock" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters