FROM ghcr.io/hugomods/hugo:0.128.2 AS build ARG GH_ACCESS_TOKEN WORKDIR /tmp/hugo COPY . . RUN ls RUN hugo --gc --minify FROM nginx:alpine-slim WORKDIR /usr/share/nginx/html RUN ls COPY nginx.conf /etc/nginx/nginx.conf COPY --from=build /tmp/hugo/public . EXPOSE 80/tcp