adjust to new workflow
This commit is contained in:
1 parent
c03eb0fed2
commit
a8406c9bb4
4 files changed
+80
-11
No files matched your search
+3
-1
@@ -2,7 +2,9 @@ FROM docker.io/hugomods/hugo:latest AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN git submodule update --init --recursive --progress
|
||||
RUN hugo
|
||||
ARG HUGO_ENV=production
|
||||
ENV HUGO_ENV=${HUGO_ENV}
|
||||
RUN hugo --environment $HUGO_ENV --minify
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /src/public /usr/share/nginx/html
|
||||
Reference in new issue
Block a user