File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
flowforge-docker-local-dev Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM node:20-alpine
22
33ARG TAG
44
5+ RUN npm install -g npm
6+
57WORKDIR /usr/src/flowforge-file-server
68RUN mkdir app bin etc var
79COPY package.json /usr/src/flowforge-file-server/app
Original file line number Diff line number Diff line change 1- FROM node:16 -alpine
1+ FROM node:20 -alpine
22
33ARG REGISTRY
4+
5+ RUN npm install -g npm
6+
47RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "$REGISTRY" ; fi
58
69RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python2
Original file line number Diff line number Diff line change 11FROM node:20-alpine
22
33RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python3 git
4+ RUN npm install -g npm
45
56WORKDIR /usr/src/forge
67RUN mkdir app bin etc var
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ FROM nodered/node-red:3.1.15-18
22
33ARG BUILD_TAG=latest
44
5+ USER root
6+ RUN npm install -g npm
7+ RUN chown -R 1000:1000 "/data/.npm"
8+
9+ USER node-red
10+
511COPY healthcheck.js /healthcheck.js
612
713COPY package.json /data
You can’t perform that action at this time.
0 commit comments