Skip to content

Commit 901698c

Browse files
committed
Add npm update to all Dockerfiles
1 parent 88aff50 commit 901698c

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

file-server/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM node:20-alpine
22

33
ARG TAG
44

5+
RUN npm install -g npm
6+
57
WORKDIR /usr/src/flowforge-file-server
68
RUN mkdir app bin etc var
79
COPY package.json /usr/src/flowforge-file-server/app

flowforge-docker-local-dev/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM node:16-alpine
22

33
ARG REGISTRY
4+
5+
RUN npm install -g npm
6+
47
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "$REGISTRY"; fi
58

69
RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python2

flowforge-docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM node:20-alpine
22

33
RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python3 git
4+
RUN npm install -g npm
45

56
WORKDIR /usr/src/forge
67
RUN mkdir app bin etc var

node-red-container/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM nodered/node-red:3.1.15-18
22

33
ARG BUILD_TAG=latest
44

5+
RUN npm install -g npm
6+
57
COPY healthcheck.js /healthcheck.js
68

79
COPY package.json /data

0 commit comments

Comments
 (0)