Dockerfile to build the container https://hub.docker.com/r/zottelchin/serve-spa
 
Go to file
Phillipp Engelke b28fbb7967 Readme 2021-03-08 23:08:12 +01:00
Caddyfile files 2021-03-08 23:01:06 +01:00
Dockerfile files 2021-03-08 23:01:06 +01:00
README.md Readme 2021-03-08 23:08:12 +01:00

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