services: frontend-builder: image: node:22-alpine working_dir: /app volumes: - ./:/app command: sh -lc "npm ci && npm run build" frontend-nginx: image: nginx:alpine container_name: line-gestao-frontend-nginx restart: unless-stopped ports: - "127.0.0.1:8081:80" volumes: - ./dist/line-gestao-frontend/browser:/usr/share/nginx/html:ro - ./docker/nginx.frontend.conf:/etc/nginx/conf.d/default.conf:ro