test / Dockerfile
th0mascat's picture
Update Dockerfile
ef7d487 verified
raw
history blame
278 Bytes
FROM python:3.11
COPY requirements.txt .
COPY app.py .
COPY ./models .
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN pip install librosa
RUN pip install -r requirements.txt
WORKDIR ./
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]