Skip to content

Commit 8383694

Browse files
author
abrulic
committed
updates in yml, generate-docs, dockerfile
1 parent ecf399c commit 8383694

File tree

4 files changed

+166
-158
lines changed

4 files changed

+166
-158
lines changed

docs/.dockerignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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/

docs/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.4
22

3-
ARG NODE_VERSION=22.17.0
3+
ARG NODE_VERSION=22
44
FROM node:${NODE_VERSION}-slim AS base
55

66
LABEL 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 ./
2221
RUN 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/)
2524
COPY . .
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)
2828
RUN pnpm run build
2929

3030
# Prune dev deps
3131
RUN pnpm prune --prod
3232

3333
# --- Runtime stage ---
3434
FROM base
35+
3536
COPY --from=build /app /app
37+
3638
EXPOSE 3000
3739
CMD ["pnpm","run","start"]

docs/fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
#

0 commit comments

Comments
 (0)