services: app: image: node:16-alpine working_dir: /app command: "sh -c 'npm install && npm run build && npm install -g serve && serve -s build'" volumes: - ${PWD}/app:/app