This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

localinfra: switch avatar & camo to pnpm

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
date (Aug 4, 2026, 10:38 AM +0300) commit 18f4ae7f parent 64a7400f change-id xywkkmvn
+10 -4
+5 -2
localinfra/avatar.Dockerfile
··· 6 6 && apt-get install -y --no-install-recommends ca-certificates \ 7 7 && rm -rf /var/lib/apt/lists/* 8 8 9 + RUN corepack enable && corepack install -g pnpm@11.17.0 10 + 9 11 COPY <<'EOF' /usr/local/bin/avatar-entrypoint.sh 10 12 #!/bin/sh 11 13 set -eu ··· 13 15 cp /caddy-ca/root.crt /usr/local/share/ca-certificates/caddy-dev.crt 14 16 update-ca-certificates >/dev/null 15 17 fi 16 - npm ci --no-audit --no-fund 17 - exec npx wrangler dev --ip 0.0.0.0 --port 8787 \ 18 + # store must share the node_modules volume's filesystem for hardlinks 19 + corepack pnpm install --frozen-lockfile --store-dir /src/node_modules/.pnpm-store 20 + exec corepack pnpm exec wrangler dev --ip 0.0.0.0 --port 8787 \ 18 21 --var "AVATAR_SHARED_SECRET:${AVATAR_SHARED_SECRET}" \ 19 22 --var "PLC_DIRECTORY_URL:${PLC_DIRECTORY_URL}" 20 23 EOF
+5 -2
localinfra/camo.Dockerfile
··· 6 6 && apt-get install -y --no-install-recommends ca-certificates \ 7 7 && rm -rf /var/lib/apt/lists/* 8 8 9 + RUN corepack enable && corepack install -g pnpm@11.17.0 10 + 9 11 COPY <<'EOF' /usr/local/bin/camo-entrypoint.sh 10 12 #!/bin/sh 11 13 set -eu ··· 13 15 cp /caddy-ca/root.crt /usr/local/share/ca-certificates/caddy-dev.crt 14 16 update-ca-certificates >/dev/null 15 17 fi 16 - npm ci --no-audit --no-fund 17 - exec npx wrangler dev --ip 0.0.0.0 --port 8787 \ 18 + # store must share the node_modules volume's filesystem for hardlinks 19 + corepack pnpm install --frozen-lockfile --store-dir /src/node_modules/.pnpm-store 20 + exec corepack pnpm exec wrangler dev --ip 0.0.0.0 --port 8787 \ 18 21 --var "CAMO_SHARED_SECRET:${CAMO_SHARED_SECRET}" 19 22 EOF 20 23 RUN chmod +x /usr/local/bin/camo-entrypoint.sh