From 2318734c109af7f372ccbeb713a58524a321859e Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Mon, 31 Jan 2022 17:00:12 +0545 Subject: [PATCH] update node version --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f304c7e3..c7a33dd9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:4.8.3 +FROM node:lts-stretch MAINTAINER Rocket.Chat Team RUN npm install -g coffee-script yo generator-hubot && \ @@ -18,9 +18,8 @@ ENV EXTERNAL_SCRIPTS=hubot-diagnostics,hubot-help,hubot-google-images,hubot-goog RUN yo hubot --owner="$BOT_OWNER" --name="$BOT_NAME" --description="$BOT_DESC" --defaults && \ sed -i /heroku/d ./external-scripts.json && \ sed -i /redis-brain/d ./external-scripts.json && \ - npm install hubot-scripts - -ADD . /home/hubot/node_modules/hubot-rocketchat + npm install hubot-scripts && \ + npm install hubot-rocketchat # hack added to get around owner issue: https://github.com/docker/docker/issues/6119 USER root