File size: 390 Bytes
ca4390d
 
a7cbfab
 
 
ca4390d
 
 
 
 
 
 
 
 
 
 
 
 
d856d68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10.17-slim

ENV NUMBA_DISABLE_JIT_CACHE=1
ENV NUMBA_CACHE_DIR=/tmp/numba_cache

RUN apt-get update && apt-get install -y \
    ffmpeg \
    libsndfile1 \
    git \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY . .

RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt

CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "7860"]