From 6f1b823dfa966ec4939ec8348fdf7e8327833fe7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 13 Jan 2024 17:49:51 +0000 Subject: [PATCH] Replace nvm with nodesource scripts They're back! --- .nvmrc | 1 - Dockerfile | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 209e3ef..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -20 diff --git a/Dockerfile b/Dockerfile index ff5b868..9b6ea77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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