This is a Next.js project bootstrapped with create-next-app
.
Clone the repository
git clone git@github.com:CDLUC3/dmsp_frontend_prototype.git
cd dmsp_frontend_prototype
Build and run the development Docker container
docker-compose build
docker-compose up
Run the following to check that your container is up
docker container ls -a
Access the site at http://localhost:3000 You can view the landing page by going directly to http://localhost:3000/dmps/10.48321/D1SP4H
git clone git@github.com:CDLUC3/dmsp_frontend_prototype.git
cd dmsp_frontend_prototype
docker build -f Dockerfile.prod -t dmsp_frontend_prototype:dmsp_frontend_prod .
docker run -p 3000:3000 dmsp_frontend_prototype:dmsp_frontend_prod
3. Access the Next.js app at http://localhost:3000