The Dockerfiles are primarily meant to be for production use since changes will need a full build cycle to reflect and they don't contain a lot of the usefully development tools that Devcontainers do. We can use the Docker Compose to test the service locally though in a production-like environment.
- Install Docker Desktop
- Build
polis-mathby usingnpm run build:math - Build
polis-serverby usingnpm run build:server - Build
polis-file-serverby usingnpm run build:file-server - Build
polis-reverse-proxyby usingnpm run build:reverse-proxy - Run images using
npm run run:compose
Navigate to http://localhost:8000 to view the Pol.is front-end.