Skip to content

A boilerplate React app wrapped in a Docker with Compose

License

Notifications You must be signed in to change notification settings

pixelipo/react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Docker Boilerplate

Just a boilerplate repository that gives you a working React app inside a Docker container. No need to install node or yarn/npm locally. It is using node:current-alpine as a base image and eerything is wrapped with a Compose for easier running.

Usage

  1. Just fork and clone 😎
  2. run sudo -E docker-compose up -d --build
  3. Point your broweser to localhost:3000 and enjoy ☕

Additional containers (like a backend and db engines) can easily be added just by creating a new subfolder and updating docker-compose.yml file. React app is inside the client folder, obviously.

All the Yarn commands need to be prefixed with sudo -E docker-compose exec client . I suggest creating a bach alias keyword.

About

A boilerplate React app wrapped in a Docker with Compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published