services: dev: build: context: . dockerfile: Dockerfile target: development container_name: -dev volumes: - .:/usr/ # No source mount: production runs the baked image as built. production: build: context: . dockerfile: Dockerfile target: production container_name: -prod