AyushAI14 commited on
Commit
1c6210d
·
verified ·
1 Parent(s): 07f6e99

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -9,11 +9,13 @@ RUN apt-get update && apt-get install -y \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
12
-
13
  RUN pip3 install -r requirements.txt
14
 
 
 
 
15
  EXPOSE 8501
16
 
17
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
18
 
19
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
 
12
  RUN pip3 install -r requirements.txt
13
 
14
+ # copy all source files (app.py, model, etc.)
15
+ COPY . .
16
+
17
  EXPOSE 8501
18
 
19
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
20
 
21
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]