Loag / Dockerized-Racket-web-app

Example Racket web app docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerized Racket web app

An example Racket web app Docker container.

includes:

  • 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.

Usage:

  • Build the container
  make build 
  • Run the container on local port 8081
  make run-cont

Keep in mind:

  • 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.

About

Example Racket web app docker container


Languages

Language:Racket 53.4%Language:Dockerfile 37.1%Language:Makefile 9.4%