release: v0.14.0
Fourteen commits since v0.13.0. See CHANGELOG.md for the full list. Two additions: `npm run doctor`, which runs the config doctor from a terminal — including inside the shipped image — and exits with the worst finding, so it can gate a deployment script; and a Playwright spec that loads all fourteen admin routes against a production build. One change, invisible on screen: the admin panel got a form-field layer (#533). Five fixes: grid.gap on both axes (#513), the dashboard status badge (#539), the journal editor's unsaved-changes guard (#538), essay paragraph markup (#537), and aria-pressed on the panel's switches and pickers.
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -43,6 +43,18 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
COPY --chmod=755 docker-entrypoint.sh ./docker-entrypoint.sh
|
||||
|
||||
# `npm run doctor` — the config doctor for the terminal (#521). It is the tool
|
||||
# for the case where the app will not start, so it has to be in the runtime
|
||||
# image rather than only in a checkout. Node 22.18+ strips the types itself,
|
||||
# so this is the whole of it: the entry point, the pure checks it imports, and
|
||||
# js-yaml, which the standalone bundle inlines rather than leaving on disk.
|
||||
# The standalone build copies package.json verbatim, so the script entry is
|
||||
# already there.
|
||||
COPY --from=builder /app/scripts/doctor.mjs ./scripts/doctor.mjs
|
||||
COPY --from=builder /app/scripts/doctor.mts ./scripts/doctor.mts
|
||||
COPY --from=builder /app/lib/admin/doctor.ts ./lib/admin/doctor.ts
|
||||
COPY --from=deps /app/node_modules/js-yaml ./node_modules/js-yaml
|
||||
|
||||
# Content dir must be writable for admin saves (ownership fixed at runtime)
|
||||
RUN chown -R nextjs:nodejs /app/content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user