@5minds/node-red-contrib-processcube 0.3.5-feature-65fd58-lx819m2o → 0.3.5-feature-c8c609-lxi2vjv1

Sign up to get free protection for your applications and to get access to all the features.
package/Dockerfile CHANGED
@@ -1,20 +1,22 @@
1
1
  FROM node:20 as builder
2
2
 
3
-
4
3
  COPY ./ /src/node-red-contrib-processcube
5
4
 
6
5
  WORKDIR /src/node-red-contrib-processcube
7
6
 
8
7
  RUN npm install
9
8
 
10
-
11
9
  FROM nodered/node-red:latest
12
10
 
13
- RUN npm install node-red-contrib-graphql
14
- RUN npm install openapi-red@1.2.5
15
- RUN npm install node-red-contrib-postgresql
16
- RUN npm install node-red-contrib-uibuilder
11
+ WORKDIR /data
17
12
 
18
13
  COPY --from=builder /src/node-red-contrib-processcube /src/node-red-contrib-processcube
19
14
 
20
15
  RUN npm install /src/node-red-contrib-processcube/
16
+
17
+ COPY nodered/package.json package.json
18
+ RUN npm install
19
+
20
+ COPY nodered/node-red-contrib-processcube-flows.json node-red-contrib-processcube-flows.json
21
+
22
+ ENTRYPOINT ["./node_modules/.bin/node-red", "--flowFile", "/data/node-red-contrib-processcube-flows.json"]