ricebug commited on
Commit
07b1adf
·
verified ·
1 Parent(s): ff07337

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -23
Dockerfile CHANGED
@@ -1,23 +1,2 @@
1
- FROM node:24.14.0-bookworm-slim
2
-
3
- # 安装 Git
4
- RUN apt-get update \
5
- && apt-get install -y --no-install-recommends git ca-certificates \
6
- && rm -rf /var/lib/apt/lists/*
7
-
8
- WORKDIR /app
9
-
10
- # 克隆项目
11
- RUN git clone --depth 1 https://github.com/bilawalsidhu/gods-eye-view.git .
12
-
13
- # 安装依赖
14
- RUN npm ci
15
-
16
- # 执行项目环境检查
17
- RUN npm run doctor
18
-
19
- # 暴露服务端口
20
- EXPOSE 4173
21
-
22
- # 启动开发服务器
23
- CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "4173"]
 
1
+ FROM ghcr.io/jasonxu114514/opencode2api
2
+ EXPOSE 8080