Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit c20546a

Browse files
committed
feat: better use of layering cache for app dockerfile
1 parent 53015c9 commit c20546a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ COPY apps/front/index.html /usr/tmp/apps/front/index.html
1313
COPY apps/front/vite.config.js /usr/tmp/apps/front/vite.config.js
1414
COPY apps/front/tailwind.config.js /usr/tmp/apps/front/tailwind.config.js
1515
COPY apps/front/postcss.config.js /usr/tmp/apps/front/postcss.config.js
16-
COPY apps/front/public /usr/tmp/apps/front/public
17-
COPY apps/front/src /usr/tmp/apps/front/src
1816

1917
RUN pnpm config set store-dir .pnpm-store && \
2018
pnpm install --frozen-lockfile --ignore-scripts && \
2119
modclean --no-progress --run
2220

21+
COPY apps/front/public /usr/tmp/apps/front/public
22+
COPY apps/front/src /usr/tmp/apps/front/src
23+
2324
RUN pnpm -C apps/front build
2425

2526
# Remove dev packages

0 commit comments

Comments
 (0)