ykl45 commited on
Commit
77a458b
1 Parent(s): 4454dbf

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ RUN apt-get update && apt-get install -y git
4
+
5
+ RUN git clone https://github.com/renqabs/img_test.git /app
6
+
7
+ WORKDIR /app
8
+
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ EXPOSE 5005
12
+
13
+ ENV MY_NAME="yyds"
14
+
15
+ CMD ["python", "app.py"]