From 1e55d4040e7a01c7d6c48dae68337e004946f65b Mon Sep 17 00:00:00 2001 From: Scott Cathcart Date: Thu, 17 Oct 2024 15:48:47 -0400 Subject: [PATCH] fix app serve from dist --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e9a9ee2..17f3cbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN npm run build # Step 2: Serve the app using NGINX FROM nginxinc/nginx-unprivileged:mainline -COPY --from=build /usr/src/app /usr/share/nginx/html +COPY --from=build /usr/src/app/dist /usr/share/nginx/html EXPOSE 8080 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file