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 -