Skip to content

Commit

Permalink
chore: add bind mounts tailwind and postcss config on docker build fo…
Browse files Browse the repository at this point in the history
…r web (#1314)
  • Loading branch information
airslice authored Dec 13, 2024
1 parent 3cc7f17 commit 3432cde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
!published.html
!vite.config.ts
!yarn.lock
!tailwind.config.js
!postcss.config.js
2 changes: 2 additions & 0 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN --mount=type=bind,source=.yarnrc.yml,target=.yarnrc.yml \
--mount=type=bind,source=published.html,target=published.html \
--mount=type=bind,source=tsconfig.json,target=tsconfig.json \
--mount=type=bind,source=vite.config.ts,target=vite.config.ts \
--mount=type=bind,source=tailwind.config.js,target=tailwind.config.js \
--mount=type=bind,source=postcss.config.js,target=postcss.config.js \
--mount=type=bind,source=src,target=src \
--mount=type=cache,target=/root/.yarn,sharing=locked \
yarn build
Expand Down

0 comments on commit 3432cde

Please sign in to comment.