diff --git a/docker b/docker index 9d83539..bf4baa0 100644 --- a/docker +++ b/docker @@ -7,6 +7,5 @@ ADD requirements.txt / RUN pip install -r ./requirements.txt -export FLASK_APP=main.py -flask run --host=0.0.0.0 \ No newline at end of file +CMD ["python", "./main.py"] \ No newline at end of file diff --git a/main.py b/main.py index 607a706..06ff2b0 100644 --- a/main.py +++ b/main.py @@ -56,4 +56,6 @@ def updateFeeds(userID): y = y + 1 showCheck = [] # Clear out the array for the next podcast +if __name__ == "__main__": + app.run(host='0.0.0.0', debug=True)