aminaj commited on
Commit
84ce718
1 Parent(s): d18bcbb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -16,17 +16,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
16
  # the application crashes without emitting any logs due to buffering.
17
  ENV PYTHONUNBUFFERED=1
18
 
19
- # # Set HOME environment variable
20
- # ENV HOME=/root
21
-
22
- # # Install ngrok
23
- # RUN apt-get update && apt-get install -y wget unzip
24
- # RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
25
- # RUN unzip ngrok-stable-linux-amd64.zip -d /home/ngrok
26
-
27
- # # Set ngrok authtoken from environment variable
28
- # RUN /home/ngrok/ngrok authtoken 2b4yAiTmpacHDqRT8mlaIdwnbFJ_2zkZKS7XQVPQb5GWVwUew
29
-
30
  WORKDIR /app
31
 
32
  # Create a non-privileged user that the app will run under.
@@ -74,5 +63,4 @@ EXPOSE 7860
74
  EXPOSE 8501
75
 
76
  # Run the application.
77
- CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
78
- # CMD ["bash", "-c", "/home/ngrok/ngrok http 7860 & uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
 
16
  # the application crashes without emitting any logs due to buffering.
17
  ENV PYTHONUNBUFFERED=1
18
 
 
 
 
 
 
 
 
 
 
 
 
19
  WORKDIR /app
20
 
21
  # Create a non-privileged user that the app will run under.
 
63
  EXPOSE 8501
64
 
65
  # Run the application.
66
+ CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]