TDN-M commited on
Commit
09e1c54
·
verified ·
1 Parent(s): 554a07f

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +11 -0
dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8
2
+
3
+ # Cài đặt các thư viện cần thiết
4
+ RUN pip install torch==1.8.1 torchvision==0.9.1 gradio==3.41.2 opencv-python==4.7.0.72 basicsr==1.4.2 realesrgan==0.3.0
5
+
6
+ # Copy mã nguồn vào container
7
+ COPY . /app
8
+ WORKDIR /app
9
+
10
+ # Chạy ứng dụng
11
+ CMD ["python", "app.py"]