File tree Expand file tree Collapse file tree 4 files changed +166
-158
lines changed
Expand file tree Collapse file tree 4 files changed +166
-158
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,3 @@ blob-report
8484
8585# Content collections output files
8686.content-collections
87-
88- # Output base directory of the documentation
89- generated-docs /
Original file line number Diff line number Diff line change 11# syntax = docker/dockerfile:1.4
22
3- ARG NODE_VERSION=22.17.0
3+ ARG NODE_VERSION=22
44FROM node:${NODE_VERSION}-slim AS base
55
66LABEL fly_launch_runtime="Node.js"
@@ -17,21 +17,23 @@ RUN apt-get update -qq && \
1717 apt-get install --no-install-recommends -y build-essential node-gyp pkg-config python-is-python3 && \
1818 rm -rf /var/lib/apt/lists/*
1919
20- # Install deps (use lockfile for reproducible builds if present)
21- COPY .npmrc package.json ./
20+ COPY .npmrc package.json ./
2221RUN pnpm install --prod=false
2322
24- # Copy the application (includes pre-generated docs & versions.ts from CI )
23+ # Copy the application (including the previously downloaded artifact under docs/ )
2524COPY . .
2625
27- # Build the app
26+ # IMPORTANT: we no longer generate docs here; they were provided by CI
27+ # Build the app (should read from docs/generated-docs/* and versions.ts that CI uploaded)
2828RUN pnpm run build
2929
3030# Prune dev deps
3131RUN pnpm prune --prod
3232
3333# --- Runtime stage ---
3434FROM base
35+
3536COPY --from=build /app /app
37+
3638EXPOSE 3000
3739CMD ["pnpm" ,"run" ,"start" ]
Original file line number Diff line number Diff line change 1- # fly.toml app configuration file generated for react-router-devtools-docs on 2025-10-03T11:40:42 +02:00
1+ # fly.toml app configuration file generated for react-router-devtools-docs on 2025-10-09T12:48:17 +02:00
22#
33# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44#
You can’t perform that action at this time.
0 commit comments