ARASCA commited on
Commit
c9780ab
·
verified ·
1 Parent(s): f30ce06

Upload 3 files

Browse files
Files changed (3) hide show
  1. Dockerfile +8 -0
  2. app.py +0 -0
  3. requirements.txt +5 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+ WORKDIR /code
3
+ COPY . .
4
+ RUN pip install --no-cache-dir -r requirements.txt
5
+ # إنشاء المجلدات عشان الصلاحيات
6
+ RUN mkdir -p logs videos avatars thumbnails encrypted watermarked
7
+ RUN chmod -R 777 /code
8
+ CMD ["python", "app.py"]
app.py ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ flask
2
+ numpy
3
+ Pillow
4
+ pycryptodome
5
+ opencv-python-headless