We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e5e42 commit 37beb8fCopy full SHA for 37beb8f
Dockerfile
@@ -1,12 +1,10 @@
1
# FROM docker.1ms.run/506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
2
-FROM 506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
+# FROM 506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
3
# 从基础镜像开始构建,加快构建速度
4
-# FROM 506610466/gpt_server:base
5
-RUN apt update -y && apt install -y build-essential && rm -rf /var/lib/apt/lists/*
+FROM 506610466/gpt_server:base
6
COPY ./ /gpt_server
7
WORKDIR /gpt_server
8
RUN uv sync && uv cache clean
9
-ENV PATH=/gpt_server/.venv/bin:$PATH
10
# RUN uv venv --seed && uv sync && uv cache clean && \
11
# echo '[[ -f .venv/bin/activate ]] && source .venv/bin/activate' >> ~/.bashrc
12
0 commit comments