mirror of
https://github.com/aantron/dream.git
synced 2025-08-13 00:05:55 -04:00
z-docker-opam
This example runs a simple Web app inside a Docker
container. It is a variant of z-docker-esy
, but
with opam as the package manager.
All the instructions are the same as in
z-docker-esy
. The difference is in the
Dockerfile
,
which, in this example, derives an image from one of the opam base
images, and installs dependencies using
opam. The initial build requires at least 2 GB of memory.
The example is live at http://docker-opam.dream.as, and is deployed there automatically, on push, by a GitHub action.