Add examples

This commit is contained in:
askiiart 2023-08-26 15:27:44 -05:00
parent ece2c9c8d6
commit 3b73828f25
No known key found for this signature in database
GPG key ID: 85505F3A2264FA01

View file

@ -2,6 +2,25 @@
Hugo in a Docker container
## Running
Example `docker run`:
```bash
docker run -v /path/to/site:/data docker.askiiart.net/askiiart/hugo hugo version
```
Example `docker-compose.yml`:
```yaml
version: '3.7'
services:
hugo:
image: docker.askiiart.net/askiiart/hugo
volumes:
- /path/to/site:/data
command: hugo version
## Building
1. Download Dart Sass (linux-x64) from [here](https://github.com/sass/dart-sass/releases/latest), and extract it with `tar -xzf dart-sass-*.tar.gz`