aminaj commited on
Commit
7a4c4ea
1 Parent(s): 09431c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -65,8 +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
 
70
  # Run the application.
71
  # CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000
72
- CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
 
 
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