harshnarayan12 commited on
Commit
0534090
·
verified ·
1 Parent(s): 99456c6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -12
Dockerfile CHANGED
@@ -1,21 +1,21 @@
1
  # for render
2
 
3
- # FROM python:3.10
4
- # COPY . /app
5
- # WORKDIR /app
6
- # RUN pip install --no-cache-dir -r requirements.txt
7
- # EXPOSE 8501
8
- # CMD streamlit run app.py --server.port $PORT
9
 
10
  # for hugging face
11
- FROM python:3.10
12
 
13
- WORKDIR /code
14
 
15
- COPY ./requirements.txt /code/requirements.txt
16
 
17
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
18
 
19
- COPY . .
20
 
21
- CMD ["streamlit", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  # for render
2
 
3
+ FROM python:3.10
4
+ COPY . /app
5
+ WORKDIR /app
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+ EXPOSE 8501
8
+ CMD streamlit run app.py --server.port $PORT
9
 
10
  # for hugging face
11
+ # FROM python:3.10
12
 
13
+ # WORKDIR /code
14
 
15
+ # COPY ./requirements.txt /code/requirements.txt
16
 
17
+ # RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
18
 
19
+ # COPY . .
20
 
21
+ # CMD ["streamlit", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]