This commit is contained in:
@@ -11,4 +11,4 @@ COPY * /app/
|
|||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
CMD ["python", "/app/main.py"]
|
CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ def index():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(debug=True)
|
app.run()
|
||||||
Reference in New Issue
Block a user