danielemery / docker-react Goto Github PK
View Code? Open in Web Editor NEWTooling to deploy React applications using docker. Supports various react build tooling,
License: MIT License
Tooling to deploy React applications using docker. Supports various react build tooling,
License: MIT License
As per the title replace current circleci ci jobs with GitHub actions.
Main motivation is to make the project more approachable.
Currently when you deploy a new version of a docker-react
app the browser caches the window.env.js
file.
There are many ways this could be solved but the proposal I'm going with is to include a hash of the file's contents in the filename.
This will mean the index.html
script tag will need to be updated each time the environment variables are changed, so this should be done as part of the npx docker-react prep
command on container start.
This means this overlaps a little with #7
Include a flake.nix and lock to help developers using nix
zod is quickly becoming the leading option in the validation library space (when Typescript is in play).
Originally it was planned to support multiple forms of validation (rather than only Joi like now). However the complexity in providing separate Dockerfiles etc for each doesn't seem worth it.
Instead we should replace the Joi with zod and put plans to support other options (like Joi and yup) on hold until when/if the project is adoped.
Update the docker-react cli tool to be able to:
The steps as documented in the README are:
docker-react
package and validation libraryindex.html
(this has some overlap with #8)Dockerfile
and .dockerignore
Single e2e test should:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.