Migrate Angular UI from portmaster-ui to desktop/angular. Update Earthfile to build libs, UI and tauri-builtin

This commit is contained in:
Patrick Pacher
2024-03-20 10:43:29 +01:00
parent 66381baa1a
commit 4b77945517
922 changed files with 84071 additions and 26 deletions

18
desktop/angular/docker.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# cd to script dir
baseDir="$( cd "$(dirname "$0")" && pwd )"
cd "$baseDir"
# get base dir for mounting
mnt="$( cd ../.. && pwd )"
# run container and start dev server
docker run \
-ti \
--rm \
-v $mnt:/portmaster-ui \
-w /portmaster-ui/modules/portmaster \
-p 8081:8080 \
node:latest \
npm start -- --host 0.0.0.0 --port 8080