File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,19 @@ WORKDIR /clawdbot
2424ARG CLAWDBOT_GIT_REF=main
2525RUN git clone --depth 1 --branch "${CLAWDBOT_GIT_REF}" https://github.com/clawdbot/clawdbot.git .
2626
27- RUN pnpm install --frozen-lockfile
27+ # Patch: relax version requirements for packages that may reference unpublished versions.
28+ # Scope this narrowly to avoid surprising dependency mutations.
29+ RUN set -eux; \
30+ for f in \
31+ ./extensions/memory-core/package.json \
32+ ./extensions/googlechat/package.json \
33+ ; do \
34+ if [ -f "$f" ]; then \
35+ sed -i -E 's/"clawdbot"[[:space:]]*:[[:space:]]*">=[^"]+"/"clawdbot": "*"/g' "$f" ; \
36+ fi; \
37+ done
38+
39+ RUN pnpm install --no-frozen-lockfile
2840RUN pnpm build
2941ENV CLAWDBOT_PREFER_PNPM=1
3042RUN pnpm ui:install && pnpm ui:build
@@ -54,5 +66,6 @@ RUN printf '%s\n' '#!/usr/bin/env bash' 'exec node /clawdbot/dist/entry.js "$@"'
5466
5567COPY src ./src
5668
69+ ENV PORT=8080
5770EXPOSE 8080
5871CMD ["node" , "src/server.js" ]
You can’t perform that action at this time.
0 commit comments