File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,16 @@ COPY --from=compilation "$opam_switch/bin"/ocaml* "$opam_switch/bin/"
6868COPY --from=compilation "$opam_switch/lib/ocaml" "$opam_switch/lib/ocaml/"
6969COPY --from=compilation "$opam_switch/bin/js_of_ocaml" "$opam_switch/bin/"
7070COPY --from=compilation "$opam_switch/lib/js_of_ocaml" "$opam_switch/lib/js_of_ocaml"
71+ COPY --from=compilation "$opam_switch/lib/vg" "$opam_switch/lib/vg"
72+ COPY --from=compilation "$opam_switch/lib/gg" "$opam_switch/lib/gg"
7173
7274# Fixes for ocamlfind
7375COPY --from=compilation "$opam_switch/lib/findlib.conf" "$opam_switch/lib/"
7476COPY --from=compilation "$opam_switch/lib/stdlib" "$opam_switch/lib/stdlib"
7577ENV PATH="${opam_switch}/bin:${PATH}"
7678ENV OCAMLPATH="/usr/lib"
79+ RUN ln -sf "$opam_switch/lib/vg" "/usr/lib"
80+ RUN ln -sf "$opam_switch/lib/gg" "/usr/lib"
7781
7882ENTRYPOINT ["dumb-init" ,"/usr/bin/learn-ocaml" ,"--sync-dir=/sync" ,"--repo=/repository" ]
7983CMD ["build" ,"serve" ]
You can’t perform that action at this time.
0 commit comments