From d229150068e6d0c260dbed3ef8c192cee0b0c306 Mon Sep 17 00:00:00 2001 From: Jeremy Karst Date: Fri, 4 Apr 2025 20:57:55 -0400 Subject: [PATCH] removed workdir from dockerfile --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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