Sign inSign up

11notes/react

By 11notes

•Updated over 2 years ago

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

Image
0

1.9K

11notes/react repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:bae7040bc…

Size

406.4 MB

Last updated

over 2 years ago

docker pull 11notes/react