mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Merge pull request #3175 from dato/prefer_nodesource
dev-tools: ensure we install Node from upstream
This commit is contained in:
commit
45d33c37ea
2 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,7 @@ ENV PYTHONUNBUFFERED=1
|
|||
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
|
||||
ENV PIP_ROOT_USER_ACTION=ignore PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
|
||||
COPY nodejs.pref /etc/apt/preferences.d/
|
||||
COPY nodejs.sources /etc/apt/sources.list.d/
|
||||
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/dev-tools/
|
||||
|
||||
|
|
4
dev-tools/nodejs.pref
Normal file
4
dev-tools/nodejs.pref
Normal file
|
@ -0,0 +1,4 @@
|
|||
Package: nodejs
|
||||
Pin: origin deb.nodesource.com
|
||||
Pin-Priority: 995
|
||||
Explanation: prefer upstream packaging over Debian's
|
Loading…
Reference in a new issue