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