Replace nvm with nodesource scripts
They're back!
This commit is contained in:
parent
59912f6ddb
commit
6f1b823dfa
2 changed files with 1 additions and 5 deletions
1
.nvmrc
1
.nvmrc
|
@ -1 +0,0 @@
|
|||
20
|
|
@ -61,13 +61,10 @@ CMD ["/app/etc/entrypoints/web"]
|
|||
# Just dev stuff
|
||||
FROM production as dev
|
||||
|
||||
COPY --chown=website .nvmrc ./
|
||||
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
|
||||
&& bash --login -c "nvm install --no-progress && nvm alias default $(nvm run --silent --version)"
|
||||
|
||||
# Swap user, so the following tasks can be run as root
|
||||
USER root
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
||||
RUN apt-get update --yes --quiet && apt-get install -y postgresql-client inotify-tools
|
||||
RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue