Skip to content

Commit

Permalink
add docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
just-max committed Jul 6, 2023
1 parent acc8497 commit 91209aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ocaml/opam:ubuntu-lts-ocaml-5.0

WORKDIR /home/opam/less-power/

COPY --chown=opam less-power.opam .
RUN opam install . --deps-only

COPY --chown=opam . .
RUN opam install .
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(maintainers "Max Lang ([email protected])")
(authors "Benjamin Bott" "Max Lang" "Nico Petzendorfer")
(source (github just-max/less-power))
(name less-power)

(package
(name less-power)
Expand Down

0 comments on commit 91209aa

Please sign in to comment.