Add Container build

This commit is contained in:
Gregory Hellings
2024-04-22 01:38:31 -05:00
committed by Greg Hellings
parent f4bf1c5569
commit 2556cba4e5
2 changed files with 64 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM fedora:latest AS build
RUN dnf install -y hugo
RUN mkdir /build
WORKDIR /build
COPY . /build/
RUN hugo -v
FROM nginx:latest
COPY --from=build /build/public/ /usr/share/nginx/html/