fix(docker): run tailwindcss after COPY src, not during npm ci #9

Merged
aureus merged 1 commit from fix/dockerfile-tailwind-build-order into main 2026-05-25 15:23:25 +00:00
Owner

postinstall.sh ran tailwindcss unconditionally, but the Dockerfile
copies src/ after npm ci, so app.css didn't exist yet. Guard the
postinstall call with a file-existence check (skips silently in Docker),
and add an explicit RUN step in the Dockerfile after COPY src/ where
the input file is guaranteed to be present.

postinstall.sh ran tailwindcss unconditionally, but the Dockerfile copies src/ after npm ci, so app.css didn't exist yet. Guard the postinstall call with a file-existence check (skips silently in Docker), and add an explicit RUN step in the Dockerfile after COPY src/ where the input file is guaranteed to be present.
fix(docker): run tailwindcss after COPY src, not during npm ci
All checks were successful
PR Checks / test (pull_request) Successful in 4m8s
020ef443f3
postinstall.sh ran tailwindcss unconditionally, but the Dockerfile
copies src/ after npm ci, so app.css didn't exist yet. Guard the
postinstall call with a file-existence check (skips silently in Docker),
and add an explicit RUN step in the Dockerfile after COPY src/ where
the input file is guaranteed to be present.
aureus merged commit 0c43554c50 into main 2026-05-25 15:23:25 +00:00
aureus deleted branch fix/dockerfile-tailwind-build-order 2026-05-25 15:23:29 +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!9
No description provided.