Taka005 commited on
Commit
70de909
·
1 Parent(s): d7356cb
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. main.py +1 -1
Dockerfile CHANGED
@@ -15,4 +15,4 @@ RUN pip install --upgrade pip
15
  RUN pip install --upgrade setuptools
16
 
17
  RUN pip install -r requirements.txt
18
- RUN python main.py
 
15
  RUN pip install --upgrade setuptools
16
 
17
  RUN pip install -r requirements.txt
18
+ CMD ["python3", "main.py"]
main.py CHANGED
@@ -124,4 +124,4 @@ def main():
124
  )
125
  return send_file(res,mimetype="image/png")
126
  # 起動
127
- app.run(host="0.0.0.0",port=5000)
 
124
  )
125
  return send_file(res,mimetype="image/png")
126
  # 起動
127
+ app.run(host="0.0.0.0",port=80)