File size: 374 Bytes
10d384d
993fe8a
5fcf781
 
48cd801
 
fba08fc
 
993fe8a
 
 
 
 
 
 
 
209aee6
 
993fe8a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.13

RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6  && rm -rf /var/lib/apt/lists/*

RUN which ffmpeg

RUN ffmpeg -version

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir -r /code/requirements.txt

COPY . .

RUN chmod -R a+w /code

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