Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/some-natalie/jekyll-in-a-can
🧪🥫 - it's Jekyll in a container
https://github.com/some-natalie/jekyll-in-a-can
docker dockerfile jekyll
Last synced: about 2 months ago
JSON representation
🧪🥫 - it's Jekyll in a container
- Host: GitHub
- URL: https://github.com/some-natalie/jekyll-in-a-can
- Owner: some-natalie
- License: mit
- Created: 2024-02-27T20:15:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T22:57:41.000Z (5 months ago)
- Last Synced: 2024-08-13T01:33:27.218Z (5 months ago)
- Topics: docker, dockerfile, jekyll
- Language: Dockerfile
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jekyll-in-a-can
🧪🥫 - it's Jekyll in a container
## usage
change directories into your project's root directory, then run it
```shell
docker run -it --rm \
--volume="$PWD:/work" \
-p 4000:4000 \
ghcr.io/some-natalie/jekyll-in-a-can:latest
```sometimes it's helpful to clear the previous build's stuff first, then run it
```shell
rm -rf Gemfile.lock _site .jekyll-cache
```it needs to be in the same directory as your `Gemfile` in order to build the site. it'll then run a local server for development.
## notes
it's rebuilt once a week automatically. versions of gems, etc, are unpinned by default and will float to latest or whatever is in the gemfile. the base image is Chainguard's ruby development image's `latest` tag, which is rebuilt daily.
this isn't for production use, just local development of static sites.
images older than 2 months are deleted automatically.