update dockerfile: enttypoint outside docker
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user