mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-09 05:19:32 +08:00
20 lines
498 B
Docker
20 lines
498 B
Docker
FROM node:22-bookworm-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
bash \
|
|
ca-certificates \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /repo
|
|
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
|
RUN corepack enable \
|
|
&& pnpm install --frozen-lockfile
|
|
|
|
COPY . .
|
|
COPY scripts/docker/cleanup-smoke/run.sh /usr/local/bin/openclaw-cleanup-smoke
|
|
RUN chmod +x /usr/local/bin/openclaw-cleanup-smoke
|
|
|
|
ENTRYPOINT ["/usr/local/bin/openclaw-cleanup-smoke"]
|