Spaces:
No application file
No application file
# 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"] | |