font-explorer/docker-compose.yml
2025-03-05 19:48:55 +01:00

42 lines
621 B
YAML

services:
server: &server
profiles:
- prod
build:
context: ./server
target: prod
volumes:
- ./fonts:/fonts
ports:
- 8000:8000
server-dev:
profiles:
- dev
<<: *server
build:
context: ./server
target: dev
volumes:
- ./server:/build
- ./fonts:/fonts
client: &client
profiles:
- prod
build:
context: ./client
target: build
ports:
- 80:3000
client-dev:
profiles:
- dev
build:
context: ./client
target: dev
<<: *client
volumes:
- ./client:/app