botInfinity commited on
Commit
80dfc88
·
verified ·
1 Parent(s): 5a4c89e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ← pick a Python base image
2
+ FROM python:3.10-slim
3
+
4
+ # ← set working directory
5
+ WORKDIR /app
6
+
7
+ # → copy everything
8
+ COPY . /app
9
+
10
+ # → install deps
11
+ RUN pip install --upgrade pip
12
+ RUN pip install -r requirements.txt
13
+
14
+ # → expose streamlit default port
15
+ EXPOSE 8501
16
+
17
+ # → final command
18
+ CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"]