From 820e345a17b02ac18728e3912176ed81529e8fdf Mon Sep 17 00:00:00 2001 From: Blitblank Date: Tue, 25 Aug 2026 22:37:26 -0500 Subject: [PATCH] update dockerfile to use production configuration --- client/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/Dockerfile b/client/Dockerfile index b8e7d9e..819aff4 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -6,10 +6,11 @@ WORKDIR /app COPY package*.json ./ RUN npm install COPY . . +RUN npm run build -- --configuration production # serve app EXPOSE 80 -CMD ["npm", "run", "start", "--", "--host", "0.0.0.0", "--poll", "2000"] +CMD ["nginx", "-g", "daemon off;"] # docker build -t phish-client:latest . # docker tag phish-client:latest git.vxbard.net/homeburger/phish-client:1.0