From 6f7b087b8209e144e1876a13769177a00b1c96bc Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 5 Feb 2023 11:51:20 -0600 Subject: [PATCH] Install NodeJS and Yarn --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 23eaac0..e34195b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,13 @@ RUN CHROMEDRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RE chmod +x /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver && \ ln -fs /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver /usr/local/bin/chromedriver +# Install NodeJS +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \ + apt-get install nodejs + +# Install Yarn +RUN npm install yarn + # Install Rebar and Hex RUN mix local.rebar --force && mix local.hex --force