aminaj commited on
Commit
a17f7d7
·
verified ·
1 Parent(s): c6d8e7d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -47,7 +47,7 @@ RUN mkdir -p /images
47
  RUN chown appuser /images
48
 
49
  # Create the app.log file
50
- RUN touch app.log
51
 
52
  # Assign the ownership of app.log to appuser
53
  RUN chown appuser app.log
@@ -69,6 +69,4 @@ 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
 
47
  RUN chown appuser /images
48
 
49
  # Create the app.log file
50
+ RUN touch -p app.log
51
 
52
  # Assign the ownership of app.log to appuser
53
  RUN chown appuser app.log
 
69
  EXPOSE 8501
70
 
71
  # Run the application.
72
+ CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]