Simple HTTP server as a replacement for nginx docker image for serving static react frontend applications.
Add your builded artefacts at /var/www
. If for some reason that path is not ok for you you can override it.
Attribute | Default Value | Environment Variable | Run Parameter |
---|---|---|---|
Bind Address | :3000 |
BIND_ADDRESS |
--bind-address |
Serve Directory | /var/www |
SERVE_DIRECTORY |
--serve-directory |
FROM registry.dmz.croz.net/croz/simple-react-server
COPY build /var/www