ipex-llm/docker/llm/serving/xpu/docker/Dockerfile
Shaojun Liu 0e388f4b91 Fix Trivy Docker Image Vulnerabilities for BigDL Release 2.5.0 (#10447)
* Update pypi version to fix trivy issues

* refine
2024-03-19 14:52:15 +08:00

19 lines
427 B
Docker

FROM intelanalytics/bigdl-llm-xpu:2.5.0-SNAPSHOT
ARG http_proxy
ARG https_proxy
# Disable pip's cache behavior
ARG PIP_NO_CACHE_DIR=false
COPY ./entrypoint.sh /opt/entrypoint.sh
# Install Serving Dependencies
RUN cd /llm && \
pip install --pre --upgrade bigdl-llm[serving] && \
pip install transformers==4.36.2 gradio==4.19.2 && \
chmod +x /opt/entrypoint.sh
WORKDIR /llm/
ENTRYPOINT [ "/opt/entrypoint.sh" ]