From ef4c0a3ea1a1a1540e24393f1229c5505b362676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Mon, 20 Jun 2022 01:03:44 -0400 Subject: [PATCH] fix relative et registry --- Dockerfile | 4 +++- build.sh | 3 ++- templates/linkedin.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6d86ec8..26e47d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ WORKDIR /python-docker COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -COPY . . +COPY static static +COPY templates templates +COPY app.py app.py CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"] \ No newline at end of file diff --git a/build.sh b/build.sh index 29dfbcf..e47ab72 100644 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ #!/bin/bash -docker build --tag emoji-flask-app . \ No newline at end of file +docker image build --tag docker-registry.dev.jevalide.ca/emoji-flask-app:latest . +docker push docker-registry.dev.jevalide.ca/emoji-flask-app:latest \ No newline at end of file diff --git a/templates/linkedin.html b/templates/linkedin.html index 8cf367e..3b94140 100644 --- a/templates/linkedin.html +++ b/templates/linkedin.html @@ -3,7 +3,7 @@ Emoji Count - Upload -