base url overwrite option
This commit is contained in:
parent
ded0237b9d
commit
c4e02c457c
@ -1,8 +1,10 @@
|
||||
FROM hugomods/hugo:std-base-non-root AS builder
|
||||
|
||||
ARG BASE_URL ""
|
||||
|
||||
COPY content/ /src
|
||||
|
||||
RUN hugo
|
||||
RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi
|
||||
|
||||
|
||||
FROM nginx:alpine
|
||||
|
Loading…
x
Reference in New Issue
Block a user