From 797e14f3d3e1556b12af05c071788a95381f3531 Mon Sep 17 00:00:00 2001 From: jayanthi_vikas <84120675+codingexcuse@users.noreply.github.com> Date: Fri, 9 Jun 2023 11:57:24 +0530 Subject: [PATCH 1/3] Update makefile --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index cebf7c5..3c03e1d 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ # Used by `image`, `push` & `deploy` targets, override as required -IMAGE_REG ?= ghcr.io -IMAGE_REPO ?= benc-uk/python-demoapp +IMAGE_REG ?= docker.io +IMAGE_REPO ?= codingexcuse/python-demoapp IMAGE_TAG ?= latest # Used by `deploy` target, sets Azure webap defaults, override as required From 3a93a17225e8df38cbc871eccbbfa4f973f5a58b Mon Sep 17 00:00:00 2001 From: jayanthi_vikas <84120675+codingexcuse@users.noreply.github.com> Date: Fri, 9 Jun 2023 11:58:18 +0530 Subject: [PATCH 2/3] Update Dockerfile --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index ae0775a..4ecc89f 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.9-slim-buster LABEL Name="Python Flask Demo App" Version=1.4.2 -LABEL org.opencontainers.image.source = "https://github.com/benc-uk/python-demoapp" +LABEL org.opencontainers.image.source = "https://github.com/codingexcuse/python-demoapp.git" ARG srcDir=src WORKDIR /app @@ -13,4 +13,4 @@ COPY $srcDir/app ./app EXPOSE 5000 -CMD ["gunicorn", "-b", "0.0.0.0:5000", "run:app"] \ No newline at end of file +CMD ["gunicorn", "-b", "0.0.0.0:5000", "run:app"] From e1b3c2fd064e0b57d99da7158242fa6494d9d59a Mon Sep 17 00:00:00 2001 From: jayanthi_vikas <84120675+codingexcuse@users.noreply.github.com> Date: Fri, 9 Jun 2023 12:00:51 +0530 Subject: [PATCH 3/3] Update requirements.txt --- src/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/requirements.txt b/src/requirements.txt index de4fe88..8f9d651 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -1,7 +1,7 @@ -Flask==1.1.2 +Flask==2.2.2 py-cpuinfo==7.0.0 psutil==5.8.0 gunicorn==20.1.0 black==20.8b1 flake8==3.9.0 -pytest==6.2.2 \ No newline at end of file +pytest==6.2.2