docs: update FRONTEND.md with podman instructions
This commit is contained in:
parent
672d2364cb
commit
340aa9665e
1 changed files with 8 additions and 5 deletions
|
|
@ -297,16 +297,19 @@ npm run lint
|
|||
|
||||
---
|
||||
|
||||
## 🐳 Docker
|
||||
## 🐳 Desenvolvimento com Container (Podman)
|
||||
|
||||
```bash
|
||||
# Build
|
||||
docker build -t gohorse-frontend .
|
||||
# Build da imagem
|
||||
podman build -t gohorse-frontend .
|
||||
|
||||
# Run
|
||||
docker run -p 3000:3000 gohorse-frontend
|
||||
# Rodar container
|
||||
# --net host recomendado para acessar APIs locais (Backend/Backoffice)
|
||||
podman run --name frontend --net host --env-file .env.local gohorse-frontend
|
||||
```
|
||||
|
||||
> **Nota:** Não utilizamos `docker-compose`. Para orquestração em produção, utilizamos **Quadlet**.
|
||||
|
||||
**Nota**: Usa `output: "standalone"` no `next.config.ts`.
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue