tommy24 commited on
Commit
7b723e0
·
verified ·
1 Parent(s): e7d5f0c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -43,7 +43,7 @@ FROM python:3.9-slim
43
  # Set the working directory in the container
44
  WORKDIR /app
45
 
46
- # Install system dependencies required for building the Python packages
47
  RUN apt-get update && apt-get install -y \
48
  pkg-config \
49
  libpango1.0-dev \
@@ -52,6 +52,7 @@ RUN apt-get update && apt-get install -y \
52
  gcc \
53
  g++ \
54
  libglib2.0-dev \
 
55
  && rm -rf /var/lib/apt/lists/*
56
 
57
  # Upgrade pip to the latest version
@@ -63,13 +64,9 @@ COPY . /app
63
  # Install Python dependencies
64
  RUN pip install --no-cache-dir -r requirements.txt
65
 
66
- # Set environment variables (if necessary)
67
- # ENV SOME_ENV_VAR=value
68
-
69
  # Expose the port your app will run on (adjust based on your app's needs)
70
  EXPOSE 8000
71
 
72
  # Define the command to run your application
73
- # Replace this with the command to run your application, e.g., python app.py
74
  CMD ["python", "app.py"]
75
 
 
43
  # Set the working directory in the container
44
  WORKDIR /app
45
 
46
+ # Install system dependencies required for building the Python packages and ffmpeg
47
  RUN apt-get update && apt-get install -y \
48
  pkg-config \
49
  libpango1.0-dev \
 
52
  gcc \
53
  g++ \
54
  libglib2.0-dev \
55
+ ffmpeg \
56
  && rm -rf /var/lib/apt/lists/*
57
 
58
  # Upgrade pip to the latest version
 
64
  # Install Python dependencies
65
  RUN pip install --no-cache-dir -r requirements.txt
66
 
 
 
 
67
  # Expose the port your app will run on (adjust based on your app's needs)
68
  EXPOSE 8000
69
 
70
  # Define the command to run your application
 
71
  CMD ["python", "app.py"]
72