Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Python Version
Python 3.12.3

## Docker deployment
### Installation
- Clone the repository to your target server host
Expand Down
4 changes: 2 additions & 2 deletions smib-fast.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python 3.11 runtime as a base image
FROM python:3.11-buster as builder
FROM python:3.12.3-bullseye as builder

RUN pip install poetry==1.4.2

Expand Down Expand Up @@ -27,7 +27,7 @@ COPY pyproject.toml poetry.lock README.md ./
RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR

# The runtime image, used to just run the code provided its virtual environment
FROM python:3.11-slim-buster as runtime
FROM python:3.12.3-slim-bullseye as runtime

ENV VIRTUAL_ENV=/app/.venv \
PATH="/app/.venv/bin:$PATH"
Expand Down