Skip to content

Commit 619e5fb

Browse files
committed
cover
1 parent 37beb8f commit 619e5fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# FROM docker.1ms.run/506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
2-
# FROM 506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
2+
FROM 506610466/cuda:12.2.0-runtime-ubuntu20.04-uv
33
# 从基础镜像开始构建,加快构建速度
4-
FROM 506610466/gpt_server:base
4+
# FROM 506610466/gpt_server:base
5+
RUN apt update -y && apt install -y build-essential && rm -rf /var/lib/apt/lists/*
56
COPY ./ /gpt_server
67
WORKDIR /gpt_server
78
RUN uv sync && uv cache clean
9+
ENV PATH=/gpt_server/.venv/bin:$PATH
810
# RUN uv venv --seed && uv sync && uv cache clean && \
911
# echo '[[ -f .venv/bin/activate ]] && source .venv/bin/activate' >> ~/.bashrc
1012

0 commit comments

Comments
 (0)