This fails with the message: _standard_initlinux.go:228: exec user process caused: no such file or directory
To fix the error, one needs to manually add the following line to the generated docker file:
COPY --from=0 /runtime/ /
Also, on a side note, the docker files created by dartfn differs in different ways from the docker files being present in the project example files directory. Could these versions of docker files be more aligned/kept in sync?
Steps to reproduce ...
Run
dartfn generate helloworld
in a new folder.As instructed by the README file in the generated test-project. Run commands ...
This fails with the message: _standard_initlinux.go:228: exec user process caused: no such file or directory
To fix the error, one needs to manually add the following line to the generated docker file:
COPY --from=0 /runtime/ /
Also, on a side note, the docker files created by dartfn differs in different ways from the docker files being present in the project example files directory. Could these versions of docker files be more aligned/kept in sync?
All the best!