Fix build script, update README with build instructions

This commit is contained in:
Chris Rai
2026-01-13 21:31:18 -05:00
parent 48a8d13580
commit 184a5b4e0f
2 changed files with 3 additions and 9 deletions

View File

@@ -5,10 +5,7 @@ Front-end web application for OTA administration.
## Setup
```bash
# Install dependencies
npm install
# Run locally
npm start
# Access at http://localhost:3000
```
@@ -16,13 +13,9 @@ npm start
## Build & Deploy
```bash
# Build for mini environment
npm run build
# Build Docker image
# Build and push Docker image
docker build --build-arg ENVIRONMENT=mini -t gitea.mini.cloud.fiskerinc.com/admin/ota-admin-portal:latest .
# Push to Gitea registry
docker login gitea.mini.cloud.fiskerinc.com -u admin
docker push gitea.mini.cloud.fiskerinc.com/admin/ota-admin-portal:latest
```