0.0.3 • Published 7 months ago

docker-react v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Docker React

CLI & base image to deploy React applications with docker containers.

Features

  • Configuration
    • Command-line arguments
    • Configuration file
  • Lightweight nginx docker container
  • CLI
    • Runtime environment variable injection & validation
      • Javascript
      • HTML
      • Hash file for cache invalidation
    • Application initialization
      • index.html file modification
      • Dockerfile generation
      • Schema and types generation
  • Support for serving at a path

Supported Tooling

  • Create React App
  • Vite
  • React Static

Supported Validation

  • Joi
  • Yup

Other TODOs

  • Example projects
  • Cookbook for proxying the container with cloudflare
  • Cookbook for handling "in-the-wild" chunks
  • Research plugin possibilities with the supported tooling

Out of scope

  • Server side rendering