fix: serve the missing Fleet Ops favicon
There was no favicon at all -- index.html never linked one, and the frontend Dockerfile's build stage never copied the public/ directory into the build context, so even after adding public/favicon.svg locally, the containerized build silently dropped it (nginx fell back to serving index.html for that path). Fixed both: index.html links /favicon.svg, and the Dockerfile now copies public/ alongside src/. The favicon reuses the existing BrandMark glyph (petrol background, teal accent) for visual consistency with the in-app brand mark. A regression test for this lives in the earlier translation-fix commit (frontend/e2e/fleet-ops-correction.spec.ts), added together with the fix at the time.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json tsconfig.json vite.config.ts index.html ./
|
||||
COPY public ./public
|
||||
COPY src ./src
|
||||
RUN npm ci && npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user