morris5444 commited on
Commit
deadde8
·
verified ·
1 Parent(s): 1f3b80f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,19 +3,19 @@ FROM node:22-bookworm
3
  RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tini \
4
  && rm -rf /var/lib/apt/lists/*
5
 
6
- # OpenClaw fest gepinnt für reproduzierbare Builds
7
  RUN npm install -g openclaw@2026.2.24
8
 
9
  WORKDIR /app
10
  ENV HOME=/app
11
  ENV PORT=7860
12
  ENV OPENCLAW_INTERNAL_PORT=18789
 
13
  EXPOSE 7860
14
 
15
- # Nur der Adapter braucht eine zusätzliche Dependency
16
  RUN npm install --prefix /app --omit=dev http-proxy
17
 
18
- # Vorhandenen node-User nutzen
19
  RUN chown -R node:node /app
20
  USER node
21
 
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tini \
4
  && rm -rf /var/lib/apt/lists/*
5
 
6
+ # OpenClaw fix gepinnt, damit Builds reproduzierbar bleiben
7
  RUN npm install -g openclaw@2026.2.24
8
 
9
  WORKDIR /app
10
  ENV HOME=/app
11
  ENV PORT=7860
12
  ENV OPENCLAW_INTERNAL_PORT=18789
13
+ ENV OPENCLAW_STATE_DIR=/app/.openclaw
14
  EXPOSE 7860
15
 
16
+ # Adapter-Dependency
17
  RUN npm install --prefix /app --omit=dev http-proxy
18
 
 
19
  RUN chown -R node:node /app
20
  USER node
21