Add Heroku Deployment Support (#159)

* add heroku.yml

* Use environment supplied port

* Update changedetection.py
This commit is contained in:
Tim Chepeleff
2021-07-26 06:43:23 +02:00
committed by GitHub
parent 1b931fef20
commit 684deaed35
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libxslt-dev \
zlib1g-dev \
g++
RUN mkdir /install
WORKDIR /install
+1 -1
View File
@@ -14,7 +14,7 @@ from backend import store
def main(argv):
ssl_mode = False
port = 5000
port = os.environ.get('PORT') or 5000
do_cleanup = False
# Must be absolute so that send_from_directory doesnt try to make it relative to backend/
+5
View File
@@ -0,0 +1,5 @@
build:
docker:
changedetection: Dockerfile
run:
changedetection: python ./changedetection.py -d /datastore