-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade python version in Dockerfile (#72)
* Upgrade python version and fix broken Dockerfile * Format exceptions.py file
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM python:3.9 | ||
FROM python:3.12.0-slim-bookworm | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
RUN mkdir /code | ||
WORKDIR /code | ||
|
||
COPY requirements.txt /code/ | ||
COPY requirements.txt requirements-documentation.txt /code/ | ||
RUN pip install -r requirements.txt | ||
|
||
COPY . /code/ | ||
|
||
ENTRYPOINT sleep 365d | ||
ENTRYPOINT sleep 365d |
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