Vercel Deployment

Hi, I want to deploy the strapi project on vercel.
I have already connected my git repo to the vercel dashboard and given all the required env variables. My build is deploying successfully but still I am getting 404 not found error.

Also while creating the build I am getting
[WARN] [@strapi/strapi]: The NODE_ENV is not set to production. This may result in unexpected behavior.
16:47:30.332 - Building build context
16:47:30.332
16:47:30.360 /bin/sh: hostname: command not found
16:47:30.376 [INFO] Including the following ENV variables as part of the JS bundle:
16:47:30.376 - ADMIN_PATH
16:47:30.376 - STRAPI_ADMIN_BACKEND_URL
16:47:30.377 - STRAPI_TELEMETRY_DISABLED

Bellow are the env variables-
HOST=localhost
PORT=1337
APP_KEYS
API_TOKEN_SALT
ADMIN_JWT_SECRET
TRANSFER_TOKEN_SALT

Database

DATABASE_CLIENT=postgres
DATABASE_HOST=
DATABASE_PORT=5432
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_SSL=true

I have also setup my database in vercel.