From 815d5d9e946a621a3a72b2a8f4a552d0ce03b9b9 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 17 Nov 2024 16:51:07 +1300 Subject: [PATCH] point dockerfile to dist folder --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 85c224d..ddd7b13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,10 +12,10 @@ RUN npm run build FROM nginx:1.19-alpine -COPY --from=build /app/build /usr/share/nginx/html +COPY --from=build /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]