From 81cefc1913e89a3f659d9a2663f4006db94004cd Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 7 Mar 2018 05:36:46 +0900 Subject: Do not use npm (#6656) Both of yarn and npm are used in Mastodon, but the combined usage requires a redundant dependency and may lead to data inconsistency. Considering that yarn has autoclean feature which npm does not have, this change replaces all npm usage with yarn. This change requires documentation update. Most notably, the following command must be executed before assets precompilation if any system dependency of node-sass has changed: yarn install --force --pure-lockfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index c22756d0c..377380a84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,6 @@ RUN apk -U upgrade \ libidn \ libpq \ nodejs \ - nodejs-npm \ protobuf \ su-exec \ tini \ -- cgit