somya-27-04-03's picture
Upload 5 files
6c52838 verified
raw
history blame contribute delete
359 Bytes
FROM python:3.10-slim
ENV PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y \
ffmpeg \
libsndfile1 \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]