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

This reverts commit 112a72abdfb78f8f6c76891e721029f4dc87d5c3.
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-07-14 09:58:45 +09:00
parent dd42164f31
commit e21a6f97bc

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