File size: 315 Bytes
d064863 63e07ed 574bc49 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use official Python image
FROM python:3.9
# Set working directory
WORKDIR /app
# Copy project files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Flask port
EXPOSE 7860
# Run Flask app
CMD ["python", "app.py"]
RUN apt-get update && apt-get install -y ffmpeg
|