build: Switch to Yarn (#3057)

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
This commit is contained in:
Lipis 2021-02-20 14:47:17 +02:00 committed by GitHub
parent 74e82d0d7c
commit 4bfcf105a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 15299 additions and 23668 deletions

View file

@ -2,13 +2,13 @@ FROM node:14-alpine AS build
WORKDIR /opt/node_app
COPY package.json package-lock.json ./
RUN npm i --no-optional
COPY package.json yarn.lock ./
RUN yarn --ignore-optional
ARG NODE_ENV=production
COPY . .
RUN npm run build:app:docker
RUN yarn build:app:docker
FROM nginx:1.17-alpine