fix(docker): copy tailwind.config.js and build CSS after COPY src/ #10

Merged
aureus merged 1 commit from fix/dockerfile-tailwind-config into main 2026-05-25 15:42:03 +00:00
Owner

postinstall skips Tailwind in Docker builds because src/public/app.css
doesn't exist at npm ci time. Without an explicit build step after
COPY src/, tailwind.css was missing from the production image entirely.

Add COPY tailwind.config.js (needed for content paths) and an explicit
tailwindcss build step after COPY src/ so templates are present for
class scanning.

postinstall skips Tailwind in Docker builds because src/public/app.css doesn't exist at npm ci time. Without an explicit build step after COPY src/, tailwind.css was missing from the production image entirely. Add COPY tailwind.config.js (needed for content paths) and an explicit tailwindcss build step after COPY src/ so templates are present for class scanning.
fix(docker): copy tailwind.config.js and build CSS after COPY src/
All checks were successful
PR Checks / test (pull_request) Successful in 3m55s
d37a297528
postinstall skips Tailwind in Docker builds because src/public/app.css
doesn't exist at npm ci time. Without an explicit build step after
COPY src/, tailwind.css was missing from the production image entirely.

Add COPY tailwind.config.js (needed for content paths) and an explicit
tailwindcss build step after COPY src/ so templates are present for
class scanning.
aureus merged commit c88c286c4b into main 2026-05-25 15:42:03 +00:00
aureus deleted branch fix/dockerfile-tailwind-config 2026-05-25 15:42:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aureus/watchcraft!10
No description provided.