From 6e042ca344d8ec11ad4cf90468354cee39bf66f2 Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Sun, 14 Jul 2019 09:58:45 +0900 Subject: Revert "Docker: Back to npm from yarn (#4730)" This reverts commit 112a72abdfb78f8f6c76891e721029f4dc87d5c3. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab8be6c682..33dfe28057 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit v1.3.1-freya