Revert "Docker: Back to npm from yarn (#4730)"

This reverts commit 112a72abdf.
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-07-14 09:58:45 +09:00
parent 9381842af2
commit 6e042ca344
No known key found for this signature in database
GPG key ID: 5388F56C75B677A1

View file

@ -21,11 +21,12 @@ RUN apk add --no-cache \
pkgconfig \
python \
zlib-dev
RUN npm i -g yarn
COPY package.json ./
RUN npm i
RUN yarn install
COPY . ./
RUN npm run build
RUN yarn build
FROM base AS runner