feat: add reset/uninstall commands
This commit is contained in:
20
scripts/docker/cleanup-smoke/Dockerfile
Normal file
20
scripts/docker/cleanup-smoke/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
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 ./
|
||||
COPY patches ./patches
|
||||
RUN corepack enable \
|
||||
&& pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
COPY scripts/docker/cleanup-smoke/run.sh /usr/local/bin/clawdbot-cleanup-smoke
|
||||
RUN chmod +x /usr/local/bin/clawdbot-cleanup-smoke
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/clawdbot-cleanup-smoke"]
|
||||
Reference in New Issue
Block a user