Skip to content

Commit e7dbc71

Browse files
committed
copy from dev stage instead of 0
1 parent 8c89bbd commit e7dbc71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ FROM node:12.13-alpine as production
2020

2121
WORKDIR /app
2222

23-
COPY --from=0 /usr/app/dist/src /app
24-
COPY --from=0 /usr/app/package.json /app/
25-
COPY --from=0 /usr/app/yarn.lock /app/
23+
COPY --from=dev /usr/app/dist/src /app
24+
COPY --from=dev /usr/app/package.json /app/
25+
COPY --from=dev /usr/app/yarn.lock /app/
2626

2727
RUN yarn install --frozen-lockfile --production && yarn cache clean
2828

0 commit comments

Comments
 (0)