added dockerfile
This commit is contained in:
parent
8f665c0492
commit
ce982b5fa1
1 changed files with 10 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM bitnami/minideb:latest as builder
|
||||
|
||||
RUN install_packages hugo git ca-certificates
|
||||
RUN git clone https://github.com/broodjeaap/hugo-website.git
|
||||
WORKDIR /hugo-website
|
||||
RUN hugo --config ./config.toml --destination /html
|
||||
|
||||
FROM nginx:1.27.4-alpine as prod
|
||||
|
||||
COPY --from=builder /html /usr/share/nginx/html
|
Loading…
Add table
Reference in a new issue