davisc1 commited on
Commit
1abc6f8
ยท
verified ยท
1 Parent(s): 0043407

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:22-bookworm
2
+
3
+ # ๅฎ‰่ฃๅฟ…่ฆๅทฅๅ…ท
4
+ RUN apt-get update && apt-get install -y git curl && \
5
+ curl -fsSL https://bun.sh/install | bash
6
+ ENV PATH="/root/.bun/bin:${PATH}"
7
+
8
+ WORKDIR /app
9
+
10
+ # Clone OpenClaw
11
+ RUN git clone https://github.com/openclaw/openclaw.git . && \
12
+ corepack enable && \
13
+ pnpm install
14
+
15
+ # ๆšด้œฒ Port 7860 (HF ่ฆๅฎš)
16
+ EXPOSE 7860
17
+
18
+ # ๅ•Ÿๅ‹•ๆŒ‡ไปค
19
+ CMD ["sh", "-c", "pnpm run gateway"]