mgbam commited on
Commit
daefc76
·
verified ·
1 Parent(s): 2e55c0e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ COPY requirements.txt /app/requirements.txt
4
+ COPY constraints.txt /app/constraints.txt
5
+ WORKDIR /app
6
+
7
+ RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
8
+ COPY . /app
9
+
10
+ CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]