aminaj commited on
Commit
5036bb0
·
verified ·
1 Parent(s): d9d2451

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -65,10 +65,10 @@ RUN mkdir -p $TRANSFORMERS_CACHE && chmod -R 777 $TRANSFORMERS_CACHE
65
  COPY . .
66
 
67
  # Expose the port that the application listens on.
68
- # EXPOSE 7860
69
  EXPOSE 8501
70
 
71
  # Run the application.
72
  # CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000
73
- # CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
74
- CMD streamlit run BrainBot.py
 
65
  COPY . .
66
 
67
  # Expose the port that the application listens on.
68
+ EXPOSE 7860
69
  EXPOSE 8501
70
 
71
  # Run the application.
72
  # CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000
73
+ CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
74
+ # CMD streamlit run BrainBot.py