diff --git a/Dockerfile b/Dockerfile index bb679a8..38b5dfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,6 @@ FROM golang:1.21-alpine AS builder # Install Hugo and Git RUN apk add --no-cache hugo git -# Set working directory -WORKDIR /app - # Copy the repository contents COPY . . @@ -20,7 +17,7 @@ RUN hugo --minify FROM nginx:alpine # Copy the built site from builder -COPY --from=builder /app/public /usr/share/nginx/html +COPY --from=builder /public /usr/share/nginx/html # Copy custom nginx config if needed # COPY nginx.conf /etc/nginx/conf.d/default.conf