Dockerfile to build the container https://hub.docker.com/r/zottelchin/serve-spa
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Phillipp Engelke b28fbb7967 Readme 1 month ago
Caddyfile files 1 month ago
Dockerfile files 1 month ago
README.md Readme 1 month ago

README.md

Serve SPA

This Repo contains the source for the docker image https://hub.docker.com/r/zottelchin/serve-spa.

It creates a Docker-Container for Single Page Applications. It's based on the Caddy webserver and is configured to:

  • proxy everything to /api/* to a other websever set by env PROXY_SERVER
  • serve all files mounted to /srv
  • serve the ìndex.html file, when there is no file matching the path