fundbureau: single-page site + Docker/Proxmox deploy
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
# ── build the static site with Hugo (extended) ───────────────────────────
|
||||
FROM hugomods/hugo:exts AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN hugo --gc --minify
|
||||
|
||||
# ── serve the static output with nginx ────────────────────────────────────
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /src/public /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user