Spaces:
Paused
Paused
File size: 423 Bytes
1191524 ab9a2d3 819905f ab9a2d3 819905f ab9a2d3 1191524 819905f ab9a2d3 e0c5ce4 ab9a2d3 17db5d7 ab9a2d3 1191524 819905f ab9a2d3 1191524 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
FROM python:3.10-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
git \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Set work directory
WORKDIR /app
# Copy files
COPY . /app
# Install Python dependencies
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
# Expose the port for Flask
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]
|