Dockerfile to build the container
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 2021-03-08 23:08:12 +01:00

Serve SPA

This Repo contains the source for the docker image

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