version: '3.8' services: nuxt-app: # Builds the image using the local Dockerfile build: context: . dockerfile: Dockerfile ports: - "3030:3030" restart: unless-stopped environment: - PORT=3030 - NUXT_PORT=3030 - HOST=0.0.0.0