Skip to content

LucasRGoes/docker-adonisjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker AdonisJs

Unofficial Docker image for AdonisJs, a Node.js web framework.

What is AdonisJs?

According to the official site:

AdonisJs is a Node.js MVC framework that runs on all major operating systems. It offers a stable ecosystem to write server-side web applications so you can focus on business needs over finalizing which package to choose or not.

AdonisJs favors developer joy with a consistent and expressive API to build full-stack web applications or micro API servers.

There are no hard prerequisites for using AdonisJs, but having a conventional understanding of JavaScript, Async programming and Node.js is very helpful.

Supported tags and respective Dockerfile links

How to use this image

Create a Dockerfile in your AdonisJs app project

# base image with your desired version lucasrgoes/adonis:<version>
FROM lucasrgoes/adonis:4.1
# replace this with your application's default port
EXPOSE 8888

You can then build and run the Docker image. Don't forget to mount your app's project root inside the container on the /app folder:

docker build -t my-adonisjs-app .
docker run -it --rm -v /my/app/folder:/app --name my-running-app my-adonisjs-app

Image variants

lucasrgoes/adonis:<version>

This is the default image, based on Debian releases. If unsure which to use this should be your choice.

lucasrgoes/adonis:<version>-alpine

This image is based on the Alpine Linux project. Alpine Linux is a Linux distribution built around musl libc and BusyBox.

The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications.

License

This project is licensed under the MIT License. Linux packages, Node.js and AdonisJs each have their own licenses that should be accessed to verify if there are any usage limitations.

Releases

No releases published

Packages

No packages published