commit 05a4691d296bc466c8ee417c3f75a15522115c72 parent 4333c6f2c356fe9725f3a1879962d7dcac37e964 Author: Andrew Laack <andrew@laack.co> Date: Wed, 2 Sep 2026 14:45:49 -0500 Opam file Diffstat:
| M | learning/Containerfile | | | 10 | ++++++++-- |
| A | learning/learning.opam | | | 34 | ++++++++++++++++++++++++++++++++++ |
2 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/learning/Containerfile b/learning/Containerfile @@ -1,3 +1,9 @@ -FROM alpine:latest +FROM ocaml/opam:alpine-ocaml-5.6-flambda + +COPY . /app + +WORKDIR /app + +RUN opam install dune + -COPY ./_build/ /app diff --git a/learning/learning.opam b/learning/learning.opam @@ -0,0 +1,34 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +synopsis: ".sl Renderer" +description: "A program to render learning files for standardized learning." +maintainer: ["Andrew Laack <andrew@laack.co>"] +authors: ["Andrew Laack <andrew@laack.co>"] +license: "LICENSE" +tags: ["learning" "education"] +homepage: "https://github.com/andrewlaack/learning-takes-time" +doc: "https://github.com/andrewlaack/learning-takes-time" +bug-reports: "https://github.com/andrewlaack/learning-takes-time/issues" +depends: [ + "dune" {>= "3.24"} + "ocaml" + "dream" + "jingoo" + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/andrewlaack/learning-takes-time.git" +x-maintenance-intent: ["(latest)"]