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