If you do this:
mojo generate app MyApp::Something
The following script is created:
But if you generate a Dockerfile using this:
script/my_app_something generate dockerfile
The Dockerfile will refer to a wrongly named CMD script WORKDIR path, ref. my_app_something vs. my_app-something:
$ cat Dockerfile
FROM perl
WORKDIR /opt/my_app-something
COPY . .
RUN cpanm --installdeps -n .
EXPOSE 3000
CMD ./script/my_app-something prefork