tudeplom commited on
Commit
f27c609
·
verified ·
1 Parent(s): 23590ba

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sử dụng Python 3.9
2
+ FROM python:3.9
3
+
4
+ # Đặt thư mục làm việc
5
+ WORKDIR /app
6
+
7
+ # Copy toàn bộ project vào container
8
+ COPY . .
9
+
10
+ # Cài đặt các thư viện
11
+ RUN pip install -r requirements.txt
12
+
13
+ # Chạy Flask API
14
+ CMD ["python", "app.py"]