You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile-web
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-devel as compile_server
3
3
4
4
ARG CPU_INSTRUCT=NATIVE
5
+
EXPOSE 8080
6
+
ENV DEBIAN_FRONTEND=noninteractive
5
7
6
8
# 设置工作目录和 CUDA 路径
7
9
WORKDIR /workspace
@@ -56,6 +58,7 @@ RUN apt-get update -y
56
58
RUN apt-get install nodejs -y
57
59
58
60
# 安装 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
59
62
RUN cd ktransformers/website && npm install @vue/cli && npm run build
0 commit comments