Public | Automated Build

Last pushed: 2 days ago
Short Description
Base image for keystone by installing the dependencies separately
Full Description

Supported tags and respective Dockerfile links

Initiative

The image is aiming to deploy keystonejs without rebuilding the image to install dependencies. It is particularly useful when the server has limited computational power, like f1-micro in google cloud.

To use the image from scratch

  1. Generate the keystonejs project
  2. Optionally start mongo db

     docker run --name your-mongo -d mongo
    
  3. Add the mongo db settings into .env

     MONGO_URI=mongodb://mongo
    
  4. Run the container by the following command

     docker run -p 80:3000 -it -d --link your-mongo:mongo --name keystonejs -v "$PWD":/usr/src/app ngyukman/keystonejs
    

    alternatively if sass is enabled

     docker run -p 80:3000 -it -d --link your-mongo:mongo --name keystonejs -v "$PWD":/usr/src/app ngyukman/keystonejs:sass
    
Docker Pull Command
Owner
ngyukman
Source Repository

Comments (1)
keyfun
10 months ago

Latest node version 7.1.0 is not in LTS yet. So the keystone server cannot be started properly.