@5minds/node-red-contrib-processcube 1.0.1 → 1.1.0-develop-3ff031-lz2nv5y2

Sign up to get free protection for your applications and to get access to all the features.
package/Dockerfile CHANGED
@@ -1,22 +1,9 @@
1
- FROM node:20 AS builder
2
-
3
- COPY ./ /src/node-red-contrib-processcube
4
-
5
- WORKDIR /src/node-red-contrib-processcube
6
-
7
- RUN npm install
8
-
9
1
  FROM nodered/node-red:4.0.2
10
2
 
11
- WORKDIR /data
12
-
13
- COPY --from=builder /src/node-red-contrib-processcube /src/node-red-contrib-processcube
14
-
15
- COPY nodered/static/ProcessCube_Logo.svg /data/static/ProcessCube_Logo.svg
3
+ RUN npm install node-red-debugger@^1.1.1
16
4
 
17
- COPY nodered/package.json package.json
18
- RUN npm install
5
+ COPY ./ /src/node-red-contrib-processcube/
19
6
 
7
+ RUN npm install /src/node-red-contrib-processcube/
20
8
 
21
- ENTRYPOINT ["./node_modules/.bin/node-red", "--flowFile", "/nodered/node-red-contrib-processcube-flows.json", "--settings", "/nodered/settings.js"]
22
- # ENTRYPOINT ["./entrypoint.sh", "--settings", "/nodered/settings.js"]
9
+ ENTRYPOINT ["./entrypoint.sh"]
@@ -5,14 +5,11 @@ services:
5
5
  context: .
6
6
  ports:
7
7
  - "1880:1880"
8
- - "9229:9229"
9
8
  environment:
10
9
  - TZ=Europe/Berlin
11
10
  - ENGINE_URL=http://engine:8000
12
- - FLOWS=/nodered/node-red-contrib-processcube-flows__.json
13
11
  volumes:
14
- - ./nodered/:/nodered/
15
- - ./examples/:/examples/
12
+ - ./nodered/:/data/
16
13
  depends_on:
17
14
  - engine
18
15
  - authority