From 64454d0b949fa950ddbe159871aa6626b7a7605d Mon Sep 17 00:00:00 2001 From: Blitblank Date: Tue, 25 Aug 2026 22:40:21 -0500 Subject: [PATCH] update dockerfile to include nginx configuration --- client/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/Dockerfile b/client/Dockerfile index 819aff4..e1b236b 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -8,6 +8,14 @@ RUN npm install COPY . . RUN npm run build -- --configuration production +# nginx +FROM nginx:alpine + +COPY --from=build /app/dist /usr/share/nginx/html + +RUN rm /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf + # serve app EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]