Serving static sites, locally and in production, can be done with tremendous flexibility merely using docker-compose
and nginx
. This is a template repository that lays the ground work for such a project. You should read the launch post, which includes an overview of this repository.
- Clone this repository.
- Run
yarn install
yarn start
Then, visit http://localhost:7000
in the browser to see
the running application, which features example code using advanced React without JSX.
yarn install
yarn start
docker-compose -f docker-compose.yaml up