Skip to content

Commit

Permalink
update port to 80
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhizzz committed Aug 4, 2024
1 parent 8322b8b commit dd69015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ EXPOSE 8081
ENV NAME World

# Run main.py when the container launches
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
CMD [ "python3", "-m" , "flask", "run", "--port 80"]
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ def get_models():
raise ValueError("MODEL_MAPPER and RESOURCE_MAPPER environment variables must be set")
if os.getenv('KEYS_MAPPER') is None:
raise ValueError("KEYS_MAPPER environment variable must be set")
app.run(host='0.0.0.0', port=8081, debug=False)
app.run(host='0.0.0.0', port=8081, debug=True)

0 comments on commit dd69015

Please sign in to comment.