Docker image for Mojolicious - Perl Web Development Framework
1.7K
This docker image has all the tools and libraries required to run Mojolicious Web Framework. You can read more about Mojolicious here.
This uses alpine linux as base image, hence the small size. The default command for this image is a shell(/bin/sh).
Version 2.0 : Added Minions and related DB connectors for it.
Create your mojolicious project using:
mojo generate app mojoproject
Run it in docker:
Create your own Dockerfile for your project, you can use this sample file. Once the dockerfile is created run the below commands:
docker build -t myprojectimage .
Then run the your docker image using:
docker run --rm --name mojoproject -p 3000:3000 myprojectimage morbo script/mojoproject
Create your own docker-compose file to build and run your application, you can use this sample file. First create the Dockerfile using the Method 1 above and then create the docker-compose file, Once both the files are created, run the below command:
docker-compose up
docker-compose down
docker-compose up -d
You can find the source of this image on GitHub.
Content type
Image
Digest
Size
99 MB
Last updated
almost 5 years ago
docker pull curioustechnoid/mojolicious