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