You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
248 B
Docker
14 lines
248 B
Docker
5 years ago
|
# Build public with hugo
|
||
|
FROM jguyomard/hugo-builder:latest
|
||
|
|
||
|
COPY . /build
|
||
|
|
||
|
WORKDIR /build
|
||
|
|
||
|
RUN hugo -b https://rene.jochums.at -v -t persona
|
||
|
|
||
|
|
||
|
# Copy to a nginx container
|
||
|
FROM nginx:1.17-alpine
|
||
|
|
||
|
COPY --from=0 /build/public/* /usr/share/nginx/html/
|