yadinae commited on
Commit
315fa74
·
verified ·
1 Parent(s): e628fce

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:22-slim
2
+ USER root
3
+
4
+ # 1. 安装基础工具
5
+ RUN apt-get update && apt-get install -y python3 python3-pip python3-full curl git sudo \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ # 2. 安装 code-server|
9
+ RUN curl -fsSL https://code-server.dev/install.sh | sh
10
+
11
+ # 3. 安装 opencode
12
+ RUN curl -fsSL https://opencode.ai/install | bash
13
+
14
+ # 4. 安装vibe-trading
15
+ RUN pip install vibe-trading-ai
16
+
17
+ # 5. 脚本进场
18
+ COPY entrypoint.sh /entrypoint.sh
19
+ RUN chmod +x /entrypoint.sh
20
+
21
+ ENV PORT=7860
22
+ EXPOSE 7860
23
+ CMD ["/bin/bash", "/entrypoint.sh"]