Add production build split and HACS release workflows

This commit is contained in:
2025-12-18 20:29:33 +10:00
parent 4fd97e6ed8
commit 5654fd2a36
7 changed files with 96 additions and 19 deletions
+2 -1
View File
@@ -18,5 +18,6 @@ COPY src/ ./src/
# Default command: run the build
# This ensures the build runs when the container starts, not during image creation
CMD ["npm", "run", "build"]
# Use BUILD_TARGET to allow running "watch" or other scripts
CMD ["sh", "-c", "npm run ${BUILD_TARGET:-build}"]