lijiacai commited on
Commit
56ced1e
·
1 Parent(s): 4ce2959

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-buster
2
+
3
+ RUN apt-get update -y
4
+
5
+ RUN apt-get install -y git
6
+
7
+
8
+ RUN mkdir /app
9
+ RUN git clone https://github.com/ai-auto-factory/ai-set-demo.git && mv ai-set-demo/* /app/
10
+
11
+ RUN pip install --no-cache --upgrade pip
12
+ RUN pip install --timeout=120 -r /app/requirements.txt
13
+
14
+ WORKDIR /app
15
+ EXPOSE 8502
16
+
17
+
18
+ CMD ["python", "-m","streamlit","run","app.py"]