We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75b788d + 84bbae9 commit 4d5bb17Copy full SHA for 4d5bb17
Dockerfile
@@ -6,6 +6,15 @@ COPY requirements.txt requirements_dev.txt requirements_all_ds.txt ./
6
RUN pip install -r requirements.txt -r requirements_dev.txt -r requirements_all_ds.txt
7
8
COPY . ./
9
+
10
+# Upgrade node to LTS 6.11.2
11
+RUN cd ~
12
+RUN wget https://nodejs.org/download/release/v6.11.2/node-v6.11.2-linux-x64.tar.gz
13
+RUN sudo tar --strip-components 1 -xzvf node-v* -C /usr/local
14
15
+# Upgrade npm
16
+RUN npm upgrade npm
17
18
RUN npm install && npm run build && rm -rf node_modules
19
RUN chown -R redash /app
20
USER redash
0 commit comments