Help for this page
mkdir build cd build # Requires mojolicious, you can git clone here also mojo generate app myapp
# cpanfile requires 'Mojolicious'; # and so on
# dockerfile FROM alpine:latest ... ENV PERL5LIB=/usr/src/myapp/local/lib/perl5/ CMD [ "script/myapp","daemon","-m","production","-l","http://*:8080" ]
# Now to build the image $ docker build -t myapp-container .
# Run the container with host's port 8081 # mapped to container's port 8080 using the cmd from dockerfile. ... # Save the container $ docker save myapp-container > myapp-container.tar
www.com | www.net | www.org
No recent polls found