diff --git a/Dockerfile b/Dockerfile index 9e35301..f21f0ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:alpine3.17 AS build-stage +FROM python:3.11.6-alpine3.18 AS build-stage LABEL maintainer="Andreas Violaris" COPY app /app WORKDIR /app RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt -FROM python:alpine3.17 +FROM python:3.11.6-alpine3.18 ENV PYTHONPATH=/usr/local/lib/python3.11/site-packages COPY --from=build-stage $PYTHONPATH $PYTHONPATH COPY --from=build-stage /app /app diff --git a/app/app.py b/app/app.py index 61110fa..964c89c 100644 --- a/app/app.py +++ b/app/app.py @@ -28,7 +28,7 @@ # Upload folder UPLOAD_FOLDER = os.path.join(os.getcwd(), 'uploads') # Current version -CURRENT_VERSION = 'v1.11.12' +CURRENT_VERSION = 'v1.11.13' # Update needed UPDATE_NEEDED = bool(update_needed(CURRENT_VERSION, get_latest_version())) diff --git a/app/requirements.txt b/app/requirements.txt index e4d6101..2b9baae 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -1,5 +1,5 @@ -Flask==2.3.3 -flask-paginate==2022.1.8 +Flask==3.0.0 +flask-paginate==2023.10.8 Flask-Session==0.5.0 gunicorn==21.2.0 requests==2.31.0 \ No newline at end of file