From 73538827329b633f422b26341ef1430d03e4cfc5 Mon Sep 17 00:00:00 2001 From: Guancheng Fu <110874468+gc-fu@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:25:37 +0800 Subject: [PATCH] add Dockerfile (#8993) --- docker/llm/inference/cpu/docker/Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker/llm/inference/cpu/docker/Dockerfile diff --git a/docker/llm/inference/cpu/docker/Dockerfile b/docker/llm/inference/cpu/docker/Dockerfile new file mode 100644 index 00000000..97bb2a0d --- /dev/null +++ b/docker/llm/inference/cpu/docker/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:20.04 + +ARG http_proxy +ARG https_proxy + +# Install PYTHON 3.9 +RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \ + apt install software-properties-common libunwind8-dev vim less -y && \ + add-apt-repository ppa:deadsnakes/ppa -y && \ + apt-get install -y python3.9 git curl wget && \ + rm /usr/bin/python3 && \ + ln -s /usr/bin/python3.9 /usr/bin/python3 && \ + ln -s /usr/bin/python3 /usr/bin/python && \ + apt-get install -y python3-pip python3.9-dev python3-wheel python3.9-distutils && \ + pip3 install --no-cache --upgrade requests argparse urllib3 && \ + pip3 install --pre --upgrade bigdl-llm[all] + +ENTRYPOINT ["/bin/bash"] \ No newline at end of file