mgbam commited on
Commit
d4dfe66
·
verified ·
1 Parent(s): abcd335

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install pydantic v1 first
4
+ RUN pip install pydantic==1.10.7
5
+
6
+ # Copy your requirements.txt and install remaining dependencies
7
+ COPY requirements.txt .
8
+ RUN pip install -r requirements.txt
9
+
10
+ # Copy the rest of your app
11
+ COPY . /app
12
+ WORKDIR /app
13
+ CMD ["streamlit", "run", "app.py"]