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"] 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 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