diff --git a/Dockerfile b/Dockerfile index 2a12e16..ad0ec0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ 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/scripts -RUN pip3 install --break-system-packages -r requirements.txt +WORKDIR /transformers.js +RUN pip3 install --break-system-packages -r scripts/requirements.txt CMD "--help" -ENTRYPOINT ["python3", "convert.py"] +ENTRYPOINT ["python3", "-m", "scripts.convert"]