vinodcwanted commited on
Commit
c8893d6
·
verified ·
1 Parent(s): ef47f0c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -13
Dockerfile CHANGED
@@ -1,13 +1,14 @@
1
- FROM python:3.9-slim
2
-
3
- WORKDIR /app
4
-
5
- COPY . .
6
-
7
- RUN pip3 install -r requirements.txt
8
-
9
- EXPOSE 8501
10
-
11
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
12
-
13
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
 
1
+ # Use a minimal base image with Python 3.9 installed
2
+ FROM python:3.9-slim
3
+
4
+ WORKDIR /app
5
+
6
+ COPY . .
7
+
8
+ RUN pip3 install -r requirements.txt
9
+
10
+ EXPOSE 8501
11
+
12
+ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
13
+
14
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]