huathedev commited on
Commit
a2d61fe
·
1 Parent(s): 83d73f4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -17,7 +17,8 @@ ENV PATH=“${PATH}:/root/.local/bin”
17
  COPY requirements.txt .
18
  RUN pip install -r requirements.txt --no-cache-dir
19
  RUN pip install numpy==1.20.0
20
- RUN pip install cython==0.29.21
 
21
  RUN pip install pygco==0.0.16
22
 
23
  # final stage
@@ -45,4 +46,4 @@ EXPOSE 8501
45
  #ENV PATH="/usr/service/venv/bin:$PATH"
46
  ENV PATH=“${PATH}:/root/.local/bin”
47
  ENV PYTHONPATH=.
48
- CMD ["streamlit", "run", "apps/demo/ⓘ_Introduction.py", "--server.port", "8501"]
 
17
  COPY requirements.txt .
18
  RUN pip install -r requirements.txt --no-cache-dir
19
  RUN pip install numpy==1.20.0
20
+ RUN
21
+ pip install cython==0.29.21
22
  RUN pip install pygco==0.0.16
23
 
24
  # final stage
 
46
  #ENV PATH="/usr/service/venv/bin:$PATH"
47
  ENV PATH=“${PATH}:/root/.local/bin”
48
  ENV PYTHONPATH=.
49
+ ENTRYPOINT ["streamlit", "run", "apps/demo/ⓘ_Introduction.py", "--server.port=8501", "--server.address=0.0.0.0"]