Spaces:
Running
Running
File size: 463 Bytes
1191524 47c1c70 819905f ab9a2d3 791a617 819905f 791a617 1191524 819905f 791a617 e0c5ce4 47c1c70 ab9a2d3 47c1c70 119ccf8 47c1c70 1191524 819905f 47c1c70 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
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 working directory
WORKDIR /app
# Copy application files
COPY . /app
# Install Python dependencies (including OpenAI SDK)
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
# Expose Flask port
EXPOSE 7860
# Run the Flask application
CMD ["python", "app.py"] |