version: '3.8' services: # The "dev" service can be used to develop without # installing node on your PC. Just run the container # in background and enter into it. # # $ docker-compose up -d dev # $ docker exec -ti -w /code api-oas-checker_dev_1 /bin/bash dev: image: node user: $UID:$GID volumes: - .:/code:z command: ["tail", "-f", "/etc/hosts"] start: build: context: . ports: - 3000:3000 user: $UID:$GID test: build: context: . entrypoint: - make - test - test-ui user: $UID:$GID build: build: context: . entrypoint: - make user: $UID:$GID volumes: - .:/app