FROM node:16 # Set working directory WORKDIR /var/www # get latest nodejs RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN apt-get install -y nodejs # Install Yarn #RUN npm install --global yarn #npm install #RUN bash -c "cd /var/www/src; npm install"