This is a Next.js project bootstrapped with create-next-app
.
- NEXT_PUBLIC_API_ENDPOINT
- NEXT_PUBLIC_DOMAIN
For example, you can see .env.example
npm install
npm run dev
npm run build
- Build docker image
docker build \ --build-arg API_ENDPOINT="http://localhost:5000/api/v1/go" \ --build-arg DOMAIN="http://localhost:5000" \ -t url-client:1.0 .
- Run docker image
docker run -d --name url-client \ -p 3000:3000 \ url-client:1.0
To learn more about this project, take a look at the following resources: