forked from LibreSchool/libreschool.org
use our new hugo container
This commit is contained in:
parent
af6bc68fbf
commit
6e7b4d830a
@ -1,10 +1,4 @@
|
||||
FROM debian:stable-slim AS hugobuild
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes wget ca-certificates && \
|
||||
wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.120.4/hugo_extended_0.120.4_linux-amd64.deb && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes /tmp/hugo.deb
|
||||
FROM git.libreschool.org/bglug/hugo-extended:latest AS hugobuild
|
||||
|
||||
COPY . /src
|
||||
|
||||
|
@ -24,6 +24,12 @@ Then start the hugo live server:
|
||||
hugo serve
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
docker run --rm -d --name hugo_ls -v "$PWD:/src" -p "1313:1313" git.libreschool.org/bglug/hugo-extended:latest serve -s /src --gc --minify --bind 0.0.0.0
|
||||
```
|
||||
|
||||
You can produce the complete website with:
|
||||
|
||||
```sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user