2023-02-13 19:05:21 +00:00
|
|
|
FROM golang:1.20 as build
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN go install -tags extended github.com/gohugoio/hugo@latest
|
|
|
|
COPY . /app
|
|
|
|
|
|
|
|
RUN hugo mod get -u && \
|
|
|
|
hugo
|
|
|
|
|
|
|
|
FROM nginx:stable-alpine
|
|
|
|
|
2023-08-13 15:39:49 +00:00
|
|
|
COPY --from=build /app/public /usr/share/nginx/html/
|
2023-08-18 19:46:52 +00:00
|
|
|
RUN wget https://github.com/LordMathis/resume/releases/download/2023-08-16/resume.pdf -O /usr/share/nginx/html/namesny_matus_resume.pdf
|