https://github.com/softinstigate/lektor-docker
Docker container for running Lektor CMS https://www.getlektor.com
https://github.com/softinstigate/lektor-docker
cms docker-container lektor nodejs npm
Last synced: about 1 year ago
JSON representation
Docker container for running Lektor CMS https://www.getlektor.com
- Host: GitHub
- URL: https://github.com/softinstigate/lektor-docker
- Owner: SoftInstigate
- License: apache-2.0
- Created: 2017-03-23T14:42:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T09:11:11.000Z (over 6 years ago)
- Last Synced: 2025-03-23T17:45:47.731Z (about 1 year ago)
- Topics: cms, docker-container, lektor, nodejs, npm
- Language: Dockerfile
- Size: 24.4 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lektor-docker
[](https://travis-ci.org/SoftInstigate/lektor-docker)
[](https://hub.docker.com/r/softinstigate/lektor/)
[](https://hub.docker.com/r/softinstigate/lektor/)
Docker container for running [Lektor CMS](https://www.getlektor.com), 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](https://www.getlektor.com/docs/quickstart/) so that you know the basic lektor commands.
You must `cd` into an __alredy existing Lektor project__.
To build the site:
```bash
docker run --rm -v $(pwd):/opt/lektor softinstigate/lektor build
```
To serve the site:
```bash
docker run --rm -v $(pwd):/opt/lektor -p 5000:5000 softinstigate/lektor server --host 0.0.0.0
```