diff --git a/Dockerfile b/Dockerfile index d2370dc..97242d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,11 @@ LABEL maintainer="Luke Tainton " ENV PIPX_BIN_DIR=/usr/local/bin -RUN wget -q -O- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \ - export NVM_DIR="$HOME/.nvm" && \ - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \ - [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" && \ - nvm install 24 && \ +RUN curl -sL https://deb.nodesource.com/setup_24.x -o /tmp/nodesource_setup.sh && \ + chmod +x /tmp/nodesource_setup.sh && /tmp/nodesource_setup.sh && \ add-apt-repository ppa:longsleep/golang-backports && \ apt-get update && \ - apt-get install -y golang-go pipx && \ + apt-get install -y golang-go pipx nodejs npm && \ apt-get clean && \ pipx install poetry && \ pipx install uv