2024-03-29 17:32:27 +00:00
|
|
|
FROM debian:sid
|
|
|
|
RUN apt update && apt install -y git python3-pip && apt clean
|
|
|
|
RUN git clone --depth 1 https://github.com/xenova/transformers.js /transformers.js
|
2024-11-23 10:32:46 +00:00
|
|
|
WORKDIR /transformers.js
|
|
|
|
RUN pip3 install --break-system-packages -r scripts/requirements.txt
|
2024-03-29 17:32:27 +00:00
|
|
|
CMD "--help"
|
2024-11-23 10:32:46 +00:00
|
|
|
ENTRYPOINT ["python3", "-m", "scripts.convert"]
|