fix relative et registry
This commit is contained in:
parent
cbdfdf82fc
commit
ef4c0a3ea1
3 changed files with 6 additions and 3 deletions
|
@ -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"]
|
3
build.sh
3
build.sh
|
@ -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
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue