fix(docker): copy tailwind.config.js and build CSS after COPY src/ #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/dockerfile-tailwind-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.