Skip to content

Commit 1273c6b

Browse files
committed
fix: devices config plain, not working as resource
Signed-off-by: wilmardo <info@wilmardenouden.nl>
1 parent 7aeed51 commit 1273c6b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
9291
COPY --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

0 commit comments

Comments
 (0)