SoftInstigate / lektor-docker

Docker container for running Lektor CMS https://www.getlektor.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Docker container for running Lektor CMS https://www.getlektor.com

License:Apache License 2.0


Languages

Language:Dockerfile 100.0%