hunk.code_window: WORKDIR /app
   RUN apk add git && npm i -g pnpm@7
   COPY . .
   # RUN apk add g++ make python3 git libpng-dev
   RUN pnpm i --frozen-lockfile --store=node_modules/.pnpm-store --filter "!ligo-virgo-e2e" --filter "!keck" --filter "!venus" && pnpm run build:local --skip-nx-cache
   FROM node:16-alpine as relocate
   WORKDIR /app
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit: RUN --mount=type=cache,target=/app/node_modules,rw,sharing=private pnpm i --frozen-lockfile --store=node_modules/.pnpm-store --filter "!ligo-virgo-e2e" --filter "!keck" --filter "!venus" && pnpm run build:local --skip-nx-cache
  
hunk.file_path: .github/deployment/Dockerfile-affine
hunk.type: replace
file: FROM node:16-alpine as builder
  WORKDIR /app
  RUN apk add git && npm i -g pnpm@7
  COPY . .
  # RUN apk add g++ make python3 git libpng-dev
  RUN pnpm i --frozen-lockfile --store=node_modules/.pnpm-store --filter "!ligo-virgo-e2e" --filter "!keck" --filter "!venus"  && pnpm run build
  
  FROM node:16-alpine as relocate
  WORKDIR /app
  COPY --from=builder /app/dist/apps/ligo-virgo ./dist
  COPY --from=builder /app/.github/deployment/Caddyfile-lisa ./Caddyfile
  RUN rm ./dist/*.txt
  
  # =============
  # lisa image
  # =============
  FROM caddy:2.4.6-alpine as lisa
  WORKDIR /app
  COPY --from=relocate /app .
  
  EXPOSE 3000
  CMD ["caddy", "run"]