Sign inSign up

ngyukman/keystonejs

By ngyukman

•Updated over 8 years ago

Base image for keystone by installing the dependencies separately

Image
8

8.4K

ngyukman/keystonejs repository overview

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

Tag summary

Content type

Image

Digest

Size

300.3 MB

Last updated

over 9 years ago

docker pull ngyukman/keystonejs