Skip to content

Commit 9d192e1

Browse files
committed
Reduce package size by copying required files only
1 parent 0ebce3c commit 9d192e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN npm run lint
1111

1212
# build
1313
FROM base AS build
14-
COPY . .
14+
COPY babel.config.js lerna.json ./
15+
COPY packages ./packages
1516
RUN npm run bootstrap
1617
RUN npm run build
1718

0 commit comments

Comments
 (0)