diff --git a/Dockerfile b/Dockerfile index d300434..a857bb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,16 @@ FROM node:22-slim AS css WORKDIR /build COPY package.json package-lock.json ./ RUN npm ci +# Every directory assets/app.css's @source lines scan -- miss one here and Tailwind's build +# silently emits no utilities for classes used only in that app's templates. Locally `npm run +# build` runs against the full checkout and never shows this; only a container image, built +# from just what's COPYed here, can. COPY assets ./assets COPY templates ./templates COPY controlpanel ./controlpanel COPY billing ./billing +COPY management ./management +COPY club ./club RUN npm run build diff --git a/assets/app.css b/assets/app.css index 224321f..fb94cd0 100644 --- a/assets/app.css +++ b/assets/app.css @@ -6,6 +6,7 @@ @source "../controlpanel"; @source "../billing"; @source "../management"; +@source "../club"; /* daisyUI: light is the default, dark applies automatically when the OS asks for it. An explicit data-theme on (set by the toggle) overrides both. */