mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
dev-tools: ensure we install Node from upstream
Fixes: #3173 ("`bw-dev build` fails")
This commit is contained in:
parent
000e5e6145
commit
09b2dea995
2 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,7 @@ ENV PYTHONUNBUFFERED=1
|
||||||
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
|
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
|
||||||
ENV PIP_ROOT_USER_ACTION=ignore PIP_DISABLE_PIP_VERSION_CHECK=1
|
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 nodejs.sources /etc/apt/sources.list.d/
|
||||||
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/dev-tools/
|
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