docker-onnx-converter/Dockerfile
ale a3921a7a75
Some checks reported errors
continuous-integration/drone/push Build was killed
-m scripts.convert
Signed-off-by: ale <ale@manalejandro.com>
2024-11-23 11:32:46 +01:00

8 lines
316 B
Docker

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
WORKDIR /transformers.js
RUN pip3 install --break-system-packages -r scripts/requirements.txt
CMD "--help"
ENTRYPOINT ["python3", "-m", "scripts.convert"]