Files
website/Dockerfile
Akshay Kolli 9dda076b56
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 23s
Redesign site and optimize page performance
2026-07-18 19:57:44 -04:00

12 lines
242 B
Docker

FROM ghcr.io/gohugoio/hugo:v0.163.3 AS build
WORKDIR /src
COPY . .
RUN hugo --minify --cleanDestinationDir
FROM nginx:1.27-alpine
COPY --from=build /src/public /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80