Use yarn in dockerfile
This commit is contained in:
parent
9524a479b6
commit
295972f574
|
@ -11,7 +11,7 @@ FROM node:14-alpine AS builder
|
|||
WORKDIR /app
|
||||
COPY . .
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
RUN npm run build
|
||||
RUN yarn build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM node:14-alpine AS runner
|
||||
|
|
Loading…
Reference in New Issue