Simple example of react dev container

This commit is contained in:
Mike Conrad
2025-06-08 11:45:19 -04:00
parent b1a5fff476
commit a406b8b11d
20 changed files with 2509 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/env sh
# Build for develop
docker build -t react:develop --target develop .
# Build for production
docker build -t react .
slim build --target react:latest --tag react:slim --preserve-path /usr/share/nginx/html/assets
docker images react
docker run -P --rm --name react react:slim