fix(migrator): use node:20 — tsx 4.21 ESM resolution broken on node:22
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7c5b5979bd
commit
d9cc08d7f1
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# Migrator image: node:22 + full source + pnpm for `pnpm payload migrate` and `pnpm payload migrate:create`
|
||||
# Migrator image: node:20 + full source + pnpm for `pnpm payload migrate` and `pnpm payload migrate:create`
|
||||
|
||||
FROM node:22-alpine AS base
|
||||
FROM node:20-alpine AS base
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue