Add Dockerfile to deploy site
This commit is contained in:
parent
2b08c90749
commit
fbb61ebdd1
5 changed files with 42 additions and 1 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM klakegg/hugo:ext-alpine-ci as builder
|
||||
COPY . /src/
|
||||
RUN hugo
|
||||
|
||||
FROM nginx:1.25 as dest
|
||||
COPY --from=builder /src/public /usr/share/nginx/html
|
||||
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
Loading…
Add table
Add a link
Reference in a new issue