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