summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-10 16:14:48 +0900
committerGitHub <noreply@github.com>2019-02-10 16:14:48 +0900
commitfac7ebf4f691ae25fffe2a289c1a74a1e9d5c360 (patch)
treec220fe3604a296e4ac7ce5967240506e0250e9ad /Dockerfile
parentUpdate package.json (diff)
downloadsharkey-fac7ebf4f691ae25fffe2a289c1a74a1e9d5c360.tar.gz
sharkey-fac7ebf4f691ae25fffe2a289c1a74a1e9d5c360.tar.bz2
sharkey-fac7ebf4f691ae25fffe2a289c1a74a1e9d5c360.zip
Fix Dockerfile (#4214)
* Update Dockerfile * Update Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 7e15967b05..4d7d450f8f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,15 +23,11 @@ RUN apk add --no-cache \
procps \
python \
zlib-dev
-RUN npm i -g node-gyp
-
-COPY ./package.json ./
-RUN npm i
+RUN npm i -g yarn
COPY . ./
-RUN node-gyp configure \
- && node-gyp build \
- && npm run build
+RUN yarn install
+RUN yarn build
FROM base AS runner