fix relative et registry

This commit is contained in:
François Pelletier 2022-06-20 01:03:44 -04:00
parent cbdfdf82fc
commit ef4c0a3ea1
3 changed files with 6 additions and 3 deletions

View file

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

View file

@ -1,3 +1,4 @@
#!/bin/bash
docker build --tag emoji-flask-app .
docker image build --tag docker-registry.dev.jevalide.ca/emoji-flask-app:latest .
docker push docker-registry.dev.jevalide.ca/emoji-flask-app:latest

View file

@ -3,7 +3,7 @@
<title>Emoji Count - Upload</title>
</head>
<body>
<form action="http://localhost:5000/linkedin_upload" method="POST"
<form action="/linkedin_upload" method="POST"
enctype="multipart/form-data">
<input type="radio" id="linkedin_shares" name="type_linkedin"
value="Shares">