MainiSandeep1987 commited on
Commit
ce8e397
·
verified ·
1 Parent(s): f8f19f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -13
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
- # FROM python:3.9-slim
2
- # WORKDIR /app
3
- # COPY . .
4
- # COPY requirements.txt .
5
- # COPY app.py .
6
- # RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
- # CMD ["streamlit", "run", "app.py", "server.address=0.0.0.0", "server.port=8501"]
8
- FROM python:3.9-slim
9
- WORKDIR /app
10
- COPY requirements.txt .
11
- RUN pip install --no-cache-dir -r requirements.txt
12
- COPY app.py .
13
- CMD ["streamlit", "run", "app.py", "--server.port=7862", "--server.address=0.0.0.0"]
 
1
+ # FROM python:3.9-slim
2
+ # WORKDIR /app
3
+ # COPY . .
4
+ # COPY requirements.txt .
5
+ # COPY app.py .
6
+ # RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
+ # CMD ["streamlit", "run", "app.py", "server.address=0.0.0.0", "server.port=8501"]
8
+ FROM python:3.9-slim
9
+ WORKDIR /app
10
+ COPY requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+ COPY app.py .
13
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]