您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
|
FROM docker.io/golang:alpine as build
|
|
|
|
COPY . /go/src/blog
|
|
WORKDIR /go/src/blog
|
|
|
|
RUN apk add hugo make git --no-cache \
|
|
&& go install git.sr.ht/~sircmpwn/openring@latest \
|
|
&& make public
|
|
|
|
FROM docker.io/nginx
|
|
COPY --from=build /go/src/blog/public /usr/share/nginx/html
|