Skip to content

Commit 25ce756

Browse files
committed
🐋 Add size check before production build
1 parent 1da589f commit 25ce756

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ FROM base AS builder
1616
COPY --from=deps /app/node_modules ./node_modules
1717
COPY . .
1818
ENV PUBLIC_SVGL_VERSION=beta
19+
RUN pnpm run check:size
1920
RUN pnpm run build:prod
2021

2122
# Production image

0 commit comments

Comments
 (0)