WebashalarForML commited on
Commit
1d83365
·
verified ·
1 Parent(s): 74c31b0

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirement.txt
14
  COPY . .
15
 
16
  # Make port 5000 available to the world outside this container
17
- EXPOSE 5000
18
 
19
  # Define environment variable
20
  ENV FLASK_APP=app.py
 
14
  COPY . .
15
 
16
  # Make port 5000 available to the world outside this container
17
+ EXPOSE 7860
18
 
19
  # Define environment variable
20
  ENV FLASK_APP=app.py
app.py CHANGED
@@ -91,4 +91,4 @@ def index():
91
  return render_template('index.html')
92
 
93
  if __name__ == "__main__":
94
- app.run(debug=True)
 
91
  return render_template('index.html')
92
 
93
  if __name__ == "__main__":
94
+ app.run(debug=True, port=7860)