Peeble commited on
Commit
3a5249b
·
verified ·
1 Parent(s): cd959ff

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a Python base image
2
+ FROM python:3.9
3
+
4
+ # Set the working directory
5
+ WORKDIR /app
6
+
7
+ # Copy requirements.txt and install dependencies
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Ensure ffmpeg and other necessary system dependencies are installed
12
+ RUN apt-get update && apt-get install -y ffmpeg
13
+
14
+ # Copy the app files into the container
15
+ COPY . .
16
+
17
+ # Run the application
18
+ CMD ["python", "app.py"]