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
|
```bash
|
||||||
# Build
|
# Build da imagem
|
||||||
docker build -t gohorse-frontend .
|
podman build -t gohorse-frontend .
|
||||||
|
|
||||||
# Run
|
# Rodar container
|
||||||
docker run -p 3000:3000 gohorse-frontend
|
# --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`.
|
**Nota**: Usa `output: "standalone"` no `next.config.ts`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue