This project was bootstrapped with Create React App.
It demonstrates deployment with Now as a static deployment built from a Dockerfile.
To create this project, we first ran:
npx create-react-app cra
Inside the cra
directory, we added three files:
now.json
to indicate that the deployment type isstatic
Dockerfile
to build using Node.js and runnningyarn build
as instructed by CRA.dockerignore
to make sure only the sources are given to Docker, and not artifacts likenode_modules