Skip to content

apquinit/docker-adonisjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AdonisJs Docker Image

Build Status

Docker image for AdonisJs projects.

Installation

Pull the Docker image.

docker pull apquinit/adonisjs:latest

Run the Docker image and create container.

docker run --name adonisjs adonisjs

Volumes

The working directory inside the container is /var/www so to keep the application data, mount a directory onto that volume.

docker run --name adonisjs -v /path/to/app:/var/www apquinit/adonisjs:latest

The working directory can be changed by passing the -w flag, make sure to update the mounted volume to preserve data.

docker run --name adonisjs -w /usr/app -v /path/to/app:/usr/app apquinit/adonisjs:latest

Custom Application Type

If the working directory is empty, the image will create a new adonis application in that directory.

docker run --name adonisjs -v /path/to/app:/var/www -e "adonisFlags=--slim --yarn" apquinit/adonisjs:latest

To see possible options, visit the documentation.

About

Docker image for AdonisJs projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors