Hi Fly team,
I’m attempting to deploy an Ocaml Dream web framework app.. It runs a Dockerfile - the example app can be found here. I’m new to the OCaml system, so the error below may be related to Opam (Ocaml package manager) or Dune (Ocaml build system).
Step 7/11 : RUN opam exec -- dune build ---> Running in 40ac6ec60c9a Error: _build/log: Permission denied Error error building: error rendering build status stream: The command '/bin/sh -c opam exec -- dune build' returned a non-zero code: 1
This error also occurs on Render.com, so I’m led to believe it’s likely due to Opam attempting to write files where it can’t. Any intuition here or workarounds?
I am considering building the executable locally and then just having Fly run that.