12 lines
369 B
YAML
12 lines
369 B
YAML
# Live frontend on :3101 without rebuilding the API image.
|
|
# The API container serves whatever is in apps/web/dist.
|
|
#
|
|
# npm --prefix apps/web run watch
|
|
# docker compose -f docker-compose.yml -f docker-compose.web.yml up -d api
|
|
#
|
|
# Prefer `make web-dev` (http://127.0.0.1:5173) when you want hot reload.
|
|
services:
|
|
api:
|
|
volumes:
|
|
- ./apps/web/dist:/web:ro
|