Skip to content

Simple Go HTTP server for serving React based frontend applications to remove dependency on nginx

Notifications You must be signed in to change notification settings

croz-ltd/simple-react-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple React Server

Simple HTTP server as a replacement for nginx docker image for serving static react frontend applications.

Usage

Add your builded artefacts at /var/www. If for some reason that path is not ok for you you can override it.

Overrides

Attribute Default Value Environment Variable Run Parameter
Bind Address :3000 BIND_ADDRESS --bind-address
Serve Directory /var/www SERVE_DIRECTORY --serve-directory

Example Dockerfile for your React application

FROM registry.dmz.croz.net/croz/simple-react-server

COPY build /var/www

About

Simple Go HTTP server for serving React based frontend applications to remove dependency on nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published