fmegahed commited on
Commit
cc2eb08
·
verified ·
1 Parent(s): 35619f3

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-slim
2
+
3
+ # System dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ git \
6
+ ffmpeg \
7
+ libsm6 \
8
+ libxext6 \
9
+ libgl1-mesa-glx \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ # Set working directory
13
+ WORKDIR /app
14
+
15
+ # Copy your files
16
+ COPY . /app
17
+
18
+ # Install Python dependencies
19
+ RUN pip install --upgrade pip
20
+ RUN pip install -r requirements.txt
21
+
22
+ # Run the app
23
+ CMD ["python", "app.py"]