From 521b2adf67d91626242c17a21a5b43de9929f317 Mon Sep 17 00:00:00 2001 From: Dome Date: Fri, 28 Mar 2025 14:49:27 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 62c94c8..faabb93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,10 @@ COPY . . # Stage 2: Production FROM nginx:latest +WORKDIR /etc/nginx COPY ./nginx.conf /etc/nginx/nginx.conf -COPY --from=build /app/build /usr/share/nginx/html +WORKDIR /usr/share/nginx/html +COPY --from=build /app/build . # Expose port 80 EXPOSE 80