mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
docker
This commit is contained in:
parent
9853fca2de
commit
b4221c9524
2 changed files with 12 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
_build
|
||||
_opam
|
||||
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
FROM ocaml/opam:debian-unstable-ocaml-5.0 as base
|
||||
RUN cd /home/opam/opam-repository; git fetch origin; git checkout 01487021cbdc2c54d643dbf5696e2211ca3db31d -q; opam upd
|
||||
WORKDIR /home/opam/
|
||||
COPY *.opam dune-project ./
|
||||
COPY src src
|
||||
COPY test test
|
||||
RUN eval `opam env` && opam install . --deps-only -t
|
||||
RUN eval `opam env` && dune build @install
|
||||
RUN eval `opam env` && dune @runtest
|
||||
Loading…
Add table
Reference in a new issue