Skip to content

vpicone/now-static-build-cra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 is static
  • Dockerfile to build using Node.js and runnning yarn build as instructed by CRA
  • .dockerignore to make sure only the sources are given to Docker, and not artifacts like node_modules

About

An example using Dockerfile to build and statically deploy a `create-react-app` application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.5%
  • HTML 21.0%
  • CSS 5.8%
  • Dockerfile 1.7%