File size: 324 Bytes
0abb626
 
 
 
ed29561
 
 
 
0abb626
 
ef21b85
03aa968
0abb626
 
bbe8174
0abb626
bbe8174
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.9

WORKDIR /code

ENV TRANSFORMERS_CACHE=/code/.cache

RUN mkdir /code/.cache

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

RUN apt-get update && apt-get install  ffmpeg libsm6 libxext6  -y -y

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

COPY . /code

CMD ["python", "/code/main.py"]