Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

lektor-docker

Build Status Docker Stars Docker Pulls

Docker container for running Lektor CMS, plus some useful Javascript tools.

We mainly use this in continuous integration & delivery pipelines, deploying to AWS.

Docker builds: https://hub.docker.com/r/softinstigate/lektor/

docker pull softinstigate/lektor

Base image

python:2.7

Installed packages

  • Lektor 3.x
  • Nodejs 8.x with npm
  • yarn
  • bower 1.x
  • gulp 4.x
  • grunt-cli 1.x
  • Amazon AWS CLI

Examples

First of all, please read the Lektor quickstart so that you know the basic lektor commands.

You must cd into an alredy existing Lektor project.

To build the site:

docker run --rm  -v $(pwd):/opt/lektor softinstigate/lektor build

To serve the site:

docker run --rm  -v $(pwd):/opt/lektor -p 5000:5000 softinstigate/lektor server --host 0.0.0.0
You can’t perform that action at this time.