Update run.sh for merged dockerfile
Backend docker image / release-image (push) Successful in 10m5s
Details
Frontend and backend docker image / release-image (push) Successful in 15m8s
Details
Tauri based desktop app / publish-tauri-desktop (push) Successful in 5m7s
Details
Frontend docker image / release-image (push) Successful in 3m35s
Details
Backend docker image / release-image (push) Successful in 10m5s
Details
Frontend and backend docker image / release-image (push) Successful in 15m8s
Details
Tauri based desktop app / publish-tauri-desktop (push) Successful in 5m7s
Details
Frontend docker image / release-image (push) Successful in 3m35s
Details
This commit is contained in:
parent
3b05cde543
commit
5756770b64
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "Focus",
|
"productName": "Focus",
|
||||||
"version": "0.3.1"
|
"version": "0.3.2"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|
7
run.sh
7
run.sh
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PUBLIC_BACKEND_URL=${PUBLIC_BACKEND_URL:-http://localhost:3000}
|
||||||
|
PUBLIC_BACKEND_WSURL=${PUBLIC_BACKEND_WSURL:-${PUBLIC_BACKEND_URL/http:/ws:}}
|
||||||
|
PUBLIC_BACKEND_WSURL=${PUBLIC_BACKEND_WSURL/https:/wss:}
|
||||||
|
|
||||||
|
find frontend -type f -exec sed -i "s|http://localhost:3000|$PUBLIC_BACKEND_URL|g" {} +
|
||||||
|
find frontend -type f -exec sed -i "s|ws://localhost:3000|$PUBLIC_BACKEND_WSURL|g" {} +
|
||||||
|
|
||||||
cd frontend && npm run preview -- --port 4173 --host 0.0.0.0 &
|
cd frontend && npm run preview -- --port 4173 --host 0.0.0.0 &
|
||||||
cd backend && ./main &
|
cd backend && ./main &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue