From fae7c0a5cf6d09bfc9b78e645f12820ab64a420b Mon Sep 17 00:00:00 2001 From: Christopher Yihan Jiang <48700578+Chrisyhjiang@users.noreply.github.com> Date: Wed, 15 May 2024 10:37:18 -0700 Subject: [PATCH] updated dependencies --- samples/python/flask/Dockerfile | 4 ++-- samples/python/flask/compose.yaml | 4 ++-- samples/python/flask/requirements.txt | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/samples/python/flask/Dockerfile b/samples/python/flask/Dockerfile index 804b50b95..66dfdedb1 100644 --- a/samples/python/flask/Dockerfile +++ b/samples/python/flask/Dockerfile @@ -7,8 +7,8 @@ WORKDIR /app # Install required packages RUN apt-get update \ && apt-get install -y --no-install-recommends \ - build-essential \ - python3-dev \ + build-essential \ + python3-dev \ && rm -rf /var/lib/apt/lists/* # Copy the current directory contents into the container at /app diff --git a/samples/python/flask/compose.yaml b/samples/python/flask/compose.yaml index 66f4473f7..d64e81450 100644 --- a/samples/python/flask/compose.yaml +++ b/samples/python/flask/compose.yaml @@ -1,4 +1,4 @@ -version: '3.9' +version: "3.9" services: service1: restart: unless-stopped @@ -8,7 +8,7 @@ services: deploy: resources: reservations: - cpus: '1.0' + cpus: "1.0" memory: 512M ports: - mode: ingress diff --git a/samples/python/flask/requirements.txt b/samples/python/flask/requirements.txt index 0af67aa8c..0c81b4a2a 100644 --- a/samples/python/flask/requirements.txt +++ b/samples/python/flask/requirements.txt @@ -1,4 +1,3 @@ Flask==2.2.5 -Werkzeug==0.16.1 -MarkupSafe==1.1.1 - +Werkzeug==2.2.2 +MarkupSafe==2.1.1