Skip to content

Commit 467bc9b

Browse files
authored
Update Dockerfile-web
1 parent eeea893 commit 467bc9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile-web

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-devel as compile_server
33

44
ARG CPU_INSTRUCT=NATIVE
5+
EXPOSE 8080
6+
ENV DEBIAN_FRONTEND=noninteractive
57

68
# 设置工作目录和 CUDA 路径
79
WORKDIR /workspace
@@ -56,6 +58,7 @@ RUN apt-get update -y
5658
RUN apt-get install nodejs -y
5759

5860
# 安装 WEB
61+
RUN cd /workspace/ktransformers/ktransformers/website/public && rm -rf config.js && wget https://github.com/IAMJOYBO/ktransformers/raw/refs/heads/main/config.js
5962
RUN cd ktransformers/website && npm install @vue/cli && npm run build
6063

6164
# 安装 ktransformers 本体(含编译)

0 commit comments

Comments
 (0)