Spaces:
Runtime error
Runtime error
File size: 528 Bytes
43317b5 d172d27 43317b5 d172d27 43317b5 d172d27 ac7dcdd d172d27 43317b5 d172d27 43317b5 d172d27 43317b5 d172d27 |
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 27 |
FROM python:3.9
# Set working directory
WORKDIR /app
# Install required system packages
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libportaudio2 \
portaudio19-dev \
ffmpeg \
&& apt-get clean
# Install Python dependencies
COPY Web_app/requirements.txt ./requirements.txt
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY Web_app .
# Expose the port Flask runs on
EXPOSE 5000
# Command to run the app
CMD ["python", "app.py"]
|