From 471faa02dabb9544dd509b2dfbcbbd0b60e9f237 Mon Sep 17 00:00:00 2001 From: Geovanny Gonzalez Date: Wed, 30 Oct 2024 16:18:14 +0100 Subject: [PATCH] Update Docker image Update the Python image to: `python:3.11.10-alpine3.20` and update dependencies too. --- Dockerfile | 4 ++-- requirements.txt | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index e391ece..91318c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN npm install RUN npm run build # Build dependencies -FROM python:3.11.7-alpine3.19@sha256:6aa46819a8ff43850e52f5ac59545b50c6d37ebd3430080421582af362afec97 AS build +FROM python:3.11.10-alpine3.20@sha256:f089154eb2546de825151b9340a60d39e2ba986ab17aaffca14301b0b961a11c AS build RUN apk update && apk upgrade # Install Kerberos client and gcc for Python wrapper @@ -24,7 +24,7 @@ RUN pip install --upgrade pip setuptools wheel RUN pip install -r requirements.txt # Create image for deployment -FROM python:3.11.7-alpine3.19@sha256:6aa46819a8ff43850e52f5ac59545b50c6d37ebd3430080421582af362afec97 AS backend +FROM python:3.11.10-alpine3.20@sha256:f089154eb2546de825151b9340a60d39e2ba986ab17aaffca14301b0b961a11c AS backend RUN apk update && apk upgrade RUN pip install --upgrade pip setuptools wheel diff --git a/requirements.txt b/requirements.txt index 0527053..51144ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ -Flask==2.3.3 -Flask-Cors==4.0.0 +Flask==3.0.3 +Flask-Cors==5.0.0 Flask-RESTful==0.3.10 -paramiko==3.4.0 +paramiko==3.5.0 pymongo==3.13.0 -requests==2.31.0 -PyJWT==2.8.0 -Authlib==1.2.1 -gunicorn==21.2.0 +requests==2.32.3 +PyJWT==2.9.0 +Authlib==1.3.2 +gunicorn==23.0.0 pylint>=2.17.5 -gssapi==1.8.3 -pyasn1==0.5.1 \ No newline at end of file +gssapi==1.9.0 +pyasn1==0.6.1