File size: 496 Bytes
3cc3b07
 
7d95fd9
3cc3b07
 
 
7d95fd9
3cc3b07
 
 
7d95fd9
3cc3b07
 
b68780e
3cc3b07
 
b68780e
3cc3b07
 
b68780e
3cc3b07
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Use a base image with GPU support
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04

# Install Python and system dependencies
RUN apt-get update && apt-get install -y \
    python3 python3-pip ffmpeg git curl

# Install Python dependencies
COPY requirements.txt /app/requirements.txt
RUN pip3 install --no-cache-dir -r /app/requirements.txt

# Copy application code
COPY . /app

# Set the working directory
WORKDIR /app

# Expose app port
EXPOSE 8000

# Start the application
CMD ["python3", "app.py"]