Stelle den Frontend-MVP und die v0.3-API auf develop bereit, damit Dev API und PWA zusammen deployen.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
827e6a2a11
commit
b276758ee1
152 files changed
+25846
-34
No files matched your search
@@ -48,7 +48,13 @@ jobs:
|
||||
ENGINE_BUILD="$(git rev-parse --short HEAD)"
|
||||
BUYING_AGENT_API_BIND=0.0.0.0
|
||||
BUYING_AGENT_API_PORT=8006
|
||||
docker compose build --pull=false api
|
||||
if ! grep -q '^CORS_ALLOWED_ORIGINS=' .env; then
|
||||
echo 'CORS_ALLOWED_ORIGINS=http://192.168.2.49:4173,http://localhost:4173' >> .env
|
||||
fi
|
||||
if ! grep -q '^BUYING_AGENT_FRONTEND_PORT=' .env; then
|
||||
echo 'BUYING_AGENT_FRONTEND_PORT=4173' >> .env
|
||||
fi
|
||||
docker compose build --pull=false api frontend
|
||||
if ! ENGINE_BUILD="$ENGINE_BUILD" \
|
||||
BUYING_AGENT_API_BIND="$BUYING_AGENT_API_BIND" \
|
||||
BUYING_AGENT_API_PORT="$BUYING_AGENT_API_PORT" \
|
||||
|
||||
Reference in new issue
Block a user