Dhrumit1314 commited on
Commit
f18c709
1 Parent(s): 4e1967e

Port Updated

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 --upgrade -r requirements.txt
14
  COPY . .
15
 
16
  # Expose port 5000 to the outside world
17
- EXPOSE 5000
18
 
19
  # Command to run the Flask applicationW
20
  CMD ["python", "app.py"]
 
14
  COPY . .
15
 
16
  # Expose port 5000 to the outside world
17
+ EXPOSE 7860
18
 
19
  # Command to run the Flask applicationW
20
  CMD ["python", "app.py"]
app.py CHANGED
@@ -229,4 +229,4 @@ def summarizer(rawdocs):
229
  # Main run function
230
  if __name__ == '__main__':
231
  os.chdir("E:/Centennial/SEMESTER 6/Software Development Project/backend/")
232
- app.run(debug=True, port=5000, use_reloader=False)
 
229
  # Main run function
230
  if __name__ == '__main__':
231
  os.chdir("E:/Centennial/SEMESTER 6/Software Development Project/backend/")
232
+ app.run(debug=True, port=7860, host='0.0.0.0', use_reloader=False)