From bad366d5eaa878b75a3aaa2e46da7a6af35c5636 Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 4 Apr 2026 14:02:39 -0400 Subject: [PATCH] revert: remove park-meta.json copy from Dockerfile Volume mount hides image-layer files on existing deployments anyway. Deploy manually: curl -o park-meta.json Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a61405e..e1b175c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,13 +44,8 @@ COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules RUN npx playwright install --with-deps chromium && \ chown -R nextjs:nodejs /app/.playwright -# Seed data directory with park-meta.json (RCDB coaster lists + rcdb_id mappings). -# Must be copied before VOLUME so Docker initialises a fresh named volume with -# this file already present. Existing volumes retain their own copy. +# SQLite data directory — mount a named volume here for persistence RUN mkdir -p /app/data && chown nextjs:nodejs /app/data -COPY --from=builder --chown=nextjs:nodejs /app/data/park-meta.json ./data/park-meta.json - -# SQLite database lives here — mount a named volume for persistence VOLUME ["/app/data"] USER nextjs