Skip to content

Commit b8ead8b

Browse files
committed
Simplify Dockerfile CMD by removing absolute Node.js path
1 parent 9f19a5f commit b8ead8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ARG BUILD_REVISION
1515

1616
#RUN sed -i -e "s#__DEV_DIRTY__#${BUILD_VERSION}-${BUILD_REVISION}#g" src/main.js
1717

18-
CMD ["/nodejs/bin/node", "--enable-source-maps", "/app/src/tuya-mqtt.js"]
18+
CMD ["node", "--enable-source-maps", "/app/src/tuya-mqtt.js"]
1919

2020

2121
#FROM gcr.io/distroless/nodejs22-debian12

0 commit comments

Comments
 (0)