version: '3' services: nuxt: image: node:lts user: $UID:$GID ports: - '3000:3000' volumes: - '.:/srv' working_dir: /srv command: "npm run dev" # command: bash -c "npm run build; npm run start" # command: bash -c "npm install; npm audit fix; npm run build; npm run start"