7 lines
163 B
Docker
7 lines
163 B
Docker
FROM hugomods/hugo:exts-0.112.1 as build
|
|
COPY . /src
|
|
RUN hugo --minify --gc --enableGitInfo
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /src/public /usr/share/nginx/html
|