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

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -13
Dockerfile CHANGED
@@ -1,13 +1,6 @@
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"]
 
1
+ FROM python:3.9-slim
2
+ WORKDIR /app
3
+ COPY requirements.txt .
4
+ RUN pip install --no-cache-dir -r requirements.txt
5
+ COPY app.py .
6
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]