--- version: '2.4' services: ui: build: context: .. dockerfile: ui/Dockerfile ports: - "${UI_PORT}:${UI_PORT}" env_file: ./.env environment: - NODE_ENV=production restart: unless-stopped entrypoint: yarn start