From a3921a7a7555ca283868b7afedf33287e3c45420 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 23 Nov 2024 11:32:46 +0100 Subject: [PATCH] -m scripts.convert Signed-off-by: ale --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]