add ci
This commit is contained in:
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM docker.io/hugomods/hugo:latest AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN hugo
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /src/public /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user