diff --git a/Dockerfile b/Dockerfile index 27e293d4..e5ae5525 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,12 @@ COPY packages/supabase/package.json packages/supabase/ RUN pnpm install --frozen-lockfile -# Copy source and build the private app only +# Copy source and build the private app only. +# SHEET_BUNDLE=draft embeds the reference equine DRAFT (medically unvalidated) +# into the bundle for a preview deployment; the default image carries no sheet +# (BDR-037, Step 5 D2): `docker build --build-arg SHEET_BUNDLE=draft .` +ARG SHEET_BUNDLE=none +ENV SHEET_BUNDLE=$SHEET_BUNDLE COPY . . RUN pnpm --filter @faunosteo/app build diff --git a/apps/app/package.json b/apps/app/package.json index 32ae0698..6e9b44a5 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -11,8 +11,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest", "test:run": "vitest run", - "lint": "eslint . --max-warnings 0", - "scaffold:species": "node scripts/scaffold-species.mjs" + "lint": "eslint . --max-warnings 0" }, "dependencies": { "@faunosteo/anatomy": "workspace:*", diff --git a/apps/app/public/pathology-editor.html b/apps/app/public/pathology-editor.html deleted file mode 100644 index adb79e21..00000000 --- a/apps/app/public/pathology-editor.html +++ /dev/null @@ -1,1700 +0,0 @@ - - -
+ {t('sheet.loading')} +
+ {t( + index.sheet.status === 'draft' + ? 'sheet.status.draft' + : 'sheet.status.published', + )} +
{disclaimer}
- {t('editors.svg.description')} -
- {t('editors.pathology.description')} -
+ {t('home.no_sheet.description')} +
{t('home.new_report.description')}
+ {t('home.new_report.description')} +
{t('home.import.description')}
+ {t('home.import.description')} +
{error}
{t('not_found.description')}
+ {t('not_found.description')} +