update dockerfile: enttypoint outside docker

This commit is contained in:
2026-02-04 19:48:59 +07:00
parent c7887b70b3
commit 9f1327cf1c
3 changed files with 101 additions and 40 deletions

View File

@@ -21,10 +21,8 @@ RUN pip install auto-gptq==0.7.1 --no-build-isolation
RUN pip3 install /rknn-llm/rkllm-toolkit/packages/rkllm_toolkit-1.2.3-cp310-cp310-linux_x86_64.whl
# Клонирование модели
WORKDIR /models
# Копируем скрипт компиляции
COPY entrypoint.py /entrypoint.py
WORKDIR /work
VOLUME ["/models", "/output"]
# Точка входа для компиляции
ENTRYPOINT ["python3", "/entrypoint.py"]
CMD ["bash"]