Use yarn in dockerfile

This commit is contained in:
Marvin Sextro 2021-07-03 12:02:23 +02:00
parent 9524a479b6
commit 295972f574
1 changed files with 1 additions and 1 deletions

View File

@ -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