get defaul binary name

This commit is contained in:
2025-08-04 20:57:27 +02:00
parent 3e3e32484c
commit ccff41a473

View File

@@ -6,6 +6,7 @@ WORKDIR C:/app
# Copy the Windows binary
ARG BINARY_NAME
env BINARY_NAME=${BINARY_NAME:-WatcherAgent}
COPY windows-bin/${BINARY_NAME}.exe .
ENTRYPOINT ["C:/app/${BINARY_NAME}.exe"]