add projects page; move to hugo;
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,7 +1,15 @@
|
||||
# ── Build ──
|
||||
FROM hugomods/hugo:latest AS builder
|
||||
|
||||
WORKDIR /src
|
||||
COPY ./hugo/eliaskohout.de .
|
||||
RUN hugo --minify
|
||||
|
||||
# ── Serve ──
|
||||
FROM alpine:latest
|
||||
|
||||
WORKDIR /www
|
||||
COPY www /www
|
||||
COPY --from=builder /src/public /www
|
||||
RUN apk add --no-cache busybox-extras
|
||||
EXPOSE 80
|
||||
CMD ["httpd", "-f", "-p", "80", "-h", "/www"]
|
||||
|
||||
Reference in New Issue
Block a user