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
python:2.7
- Lektor 3.x
- Nodejs 8.x with npm
- yarn
- bower 1.x
- gulp 4.x
- grunt-cli 1.x
- Amazon AWS CLI
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