Skip to content

Docker for webapp

Julien Andrieux requested to merge feature/docker-for-webapp into develop

Changes

  • Modify the Dockerfile for the webapp so it copies the web application in the container
  • Update the Caddy configuration file to work with the container environment

Build

$ docker build -t registry.gitlab.com/pantomath-io/pantomath/pantomath-web -f build/Dockerfile-web .

Run

$ docker run -p 8080:8080 registry.gitlab.com/pantomath-io/pantomath/pantomath-web

Merge request reports