Skip to content

11notes/docker-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine :: React

Run React based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Volumes

  • /app/src - Directory of your react app
  • /app/public - Directory of your react app public / static content
  • /app/build - Directory of your react app production build

Run

Starting development

docker run --name react \
  -v ../src:/app/src \
  -v ../public:/app/public \
  -d 11notes/app:[tag]

Build project

docker run --name react \
docker run --name react \
  -v ../src:/app/src \
  -v ../public:/app/public \
  -v ../build:/app/build \
  -d 11notes/app:[tag] \
    build

Parent

Build with

Tips

  • Don't bind to ports < 1024 (requires root), use NAT/reverse proxy
  • Permanent Storage - Module to store permanent container data via NFS/CIFS and more

About

Run React based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors