dream/example/z-docker-opam
2022-02-11 15:39:39 +03:00
..
2021-05-08 09:37:05 +03:00
2022-02-11 15:39:39 +03:00
2021-05-06 20:26:34 +03:00
2021-05-06 20:26:34 +03:00
2021-05-08 09:37:05 +03: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.


Up to the example index