Fix build script, update README with build instructions
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user