docker-onnx-converter/Dockerfile

8 lines
316 B
Docker
Raw Normal View History

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
WORKDIR /transformers.js
RUN pip3 install --break-system-packages -r scripts/requirements.txt
2024-03-29 17:32:27 +00:00
CMD "--help"
ENTRYPOINT ["python3", "-m", "scripts.convert"]