mgbam commited on
Commit
e90aa5e
·
verified ·
1 Parent(s): f2c0bd9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -1,13 +1,15 @@
1
  FROM python:3.10-slim
 
2
  ENV PYTHONDONTWRITEBYTECODE 1
3
  ENV PYTHONUNBUFFERED 1
 
4
  WORKDIR /app
 
5
  COPY requirements.txt /app/
6
  RUN pip install --upgrade pip && pip install -r requirements.txt
 
7
  COPY . /app
8
- ENV STREAMLIT_PORT 7860
9
- ENV STREAMLIT_HEADLESS true
10
- ENV STREAMLIT_ENABLECORS false
11
- ENV STREAMLIT_SERVER_ENABLE_WEBRTC false
12
  EXPOSE 7860
13
- CMD ["streamlit", "run", "app.py"]
 
 
1
  FROM python:3.10-slim
2
+
3
  ENV PYTHONDONTWRITEBYTECODE 1
4
  ENV PYTHONUNBUFFERED 1
5
+
6
  WORKDIR /app
7
+
8
  COPY requirements.txt /app/
9
  RUN pip install --upgrade pip && pip install -r requirements.txt
10
+
11
  COPY . /app
12
+
 
 
 
13
  EXPOSE 7860
14
+
15
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]