services:
  frontend:
    build: .
    working_dir: /app
    command: sh -lc "if [ ! -d node_modules/gulp ]; then npm ci; fi; npx gulp serve"
    ports:
      - "8887:8887"
      - "35729:35729"
    volumes:
      - .:/app
      - node_modules:/app/node_modules

volumes:
  node_modules:
