From 6f979c8275e3c8eeff99135f736c5d93462007a2 Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Tue, 30 Oct 2018 12:36:14 +0900 Subject: Configure CI (#3037) * Update config.yml * Configure CI * Use Vesion 2.1 * Fix error * Ensure binary builds * Ensure misskey builds * Store artifacts * Ensure node-gyp builds * Fix typo * Fix typo * Ensure binary builds * Update working directory * Cache test npm packages * Revert "Update working directory" * Ensure misskey builds * Ensure node-gyp builds * Fix missing configurations * Configure deploy filters * Use latest npm in Docker --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index a95789c01d..e31af0099b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,12 @@ RUN apk add --no-cache \ pkgconfig \ libtool \ zlib-dev -RUN npm install \ - && npm install -g node-gyp \ - && node-gyp configure \ - && node-gyp build \ - && npm run build +RUN npm i -g npm@latest \ + && npm i \ + && npm i -g node-gyp \ + && node-gyp configure \ + && node-gyp build \ + && npm run build FROM base AS runner -- cgit v1.2.3-freya