File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ RUN nexe --build \
4242 --resource lib/ \
4343 --resource ../views/ \
4444 --resource ../dist/static \
45- --resource ../node_modules/@zwave-js/config/config/devices \
4645 --output zwavejs2mqtt \
4746 --input bin/www.js && \
4847 mkdir /config /data
@@ -88,10 +87,13 @@ COPY --from=builder \
8887 /zwavejs2mqtt/node_modules/@serialport/bindings/build/Release/bindings.node \
8988 /zwavejs2mqtt/build/bindings.node
9089
91- # Add file needed, doesn't work as --resource
90+ # Add files needed, doesn't work as --resource
9291COPY --from=builder \
9392 /zwavejs2mqtt/node_modules/@serialport/bindings/lib/linux.js \
9493 /zwavejs2mqtt/node_modules/@serialport/bindings/lib/linux.js
94+ COPY --from=builder \
95+ /zwavejs2mqtt/node_modules/@zwave-js/config/config/devices \
96+ /zwavejs2mqtt/node_modules/@zwave-js/config/config/devices
9597
9698# Create default data directory
9799# Will fail at runtime due missing the mkdir binary
You can’t perform that action at this time.
0 commit comments