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