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 \ pkgconfig \
python \ python \
zlib-dev zlib-dev
RUN npm i -g yarn
COPY package.json ./ COPY package.json ./
RUN npm i RUN yarn install
COPY . ./ COPY . ./
RUN npm run build RUN yarn build
FROM base AS runner FROM base AS runner