diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2018-10-30 12:36:14 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-10-30 12:36:14 +0900 |
| commit | 6f979c8275e3c8eeff99135f736c5d93462007a2 (patch) | |
| tree | e5ee7925101945582ae73535b64d2b2824a2b743 /Dockerfile | |
| parent | Refactor (diff) | |
| download | sharkey-6f979c8275e3c8eeff99135f736c5d93462007a2.tar.gz sharkey-6f979c8275e3c8eeff99135f736c5d93462007a2.tar.bz2 sharkey-6f979c8275e3c8eeff99135f736c5d93462007a2.zip | |
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
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
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 |