mirror of
https://github.com/alexhopeoconnor/bom-local-card.git
synced 2026-10-03 22:22:00 +10:00
Add production build split and HACS release workflows
This commit is contained in:
+2
-1
@@ -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}"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user