summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-07-14 09:58:45 +0900
committerAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-07-14 09:58:45 +0900
commit6e042ca344d8ec11ad4cf90468354cee39bf66f2 (patch)
tree2dcabe750dff0ca14cc5229f19d36f89407b4738 /Dockerfile
parentBye @types/is-root (diff)
downloadsharkey-6e042ca344d8ec11ad4cf90468354cee39bf66f2.tar.gz
sharkey-6e042ca344d8ec11ad4cf90468354cee39bf66f2.tar.bz2
sharkey-6e042ca344d8ec11ad4cf90468354cee39bf66f2.zip
Revert "Docker: Back to npm from yarn (#4730)"
This reverts commit 112a72abdfb78f8f6c76891e721029f4dc87d5c3.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files 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