diff --git a/Dockerfile b/Dockerfile index e31ee69..f45a9e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,10 @@ RUN apk add --no-cache --virtual .novnc-fetch curl tar \ COPY tsconfig.json ./ COPY src ./src COPY ui ./ui +# build:server runs scripts/generate-version.sh; build:ui runs +# ../scripts/validate-help-docs.mjs — both live under scripts/, so the build +# context needs it (without this: "scripts/generate-version.sh: No such file", exit 127). +COPY scripts ./scripts RUN npm run build:server RUN npm run build:ui