From fb295ac8f259f4e8dc68c2a4206fb4ce4b0edca3 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Thu, 11 Aug 2022 01:28:58 +0000 Subject: [PATCH] Update to Debian 11 --- Dockerfile | 2 +- app/app.py | 2 ++ requirements.txt | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab199aa..51c5b67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:10 +FROM debian:11 MAINTAINER Paul Warren diff --git a/app/app.py b/app/app.py index 96bb61c..4c18322 100644 --- a/app/app.py +++ b/app/app.py @@ -10,6 +10,8 @@ usage = """ Post image Data to /desteg and receive a copy of that image with the least significant bits XORed with system entropy Example: curl -H "Content-Type: application/png" --data-binary @image.png http://localhost:5002/desteg -o image_destegged.png + +Updated 2022-08-11 """ @app.route("/desteg", methods=["GET"]) diff --git a/requirements.txt b/requirements.txt index 2fc06da..a1a557b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy==1.16.2 +numpy>=1.16.2 Flask>=2.0.3 -Pillow==6.2.0 -gunicorn==20.0.4 +Pillow>=6.2.0 +gunicorn>=20.0.4