An example Racket web app Docker container.
- Web app as a package to manage dependencies.
- builder/distribution Dockerfile build process (dist on arch linux).
- production distribution build of racket app.
- only include the production build in the runtime container.
- Make for convenience.
- Build the container
make build
- Run the container on local port 8081
make run-cont
- Racket docs are unclear on (to me at least) if this is the correct use of packages for an application/executable.
- Server has to be run on a non default ip (loopback address). Running on the default ip returns "The connection was reset" error See this question for reference.