From 461a989bb2d54176652f0806070c39e7411ac82a Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 6 Jan 2026 15:08:27 -0600 Subject: [PATCH] fix: Docker compatibility --- Dockerfile | 4 ++-- nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 384a229..1e3c2e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,6 @@ COPY . . # Build React app RUN npm run build - # ---------- Production stage ---------- FROM nginx:alpine @@ -26,6 +25,7 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf # Copy build output COPY --from=build /app/dist /usr/share/nginx/html -EXPOSE 3000 +# Expose standard nginx port +EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] diff --git a/nginx.conf b/nginx.conf index 14b118a..3aa17e6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ server { - listen 3000; + listen 80; server_name _; root /usr/share/nginx/html;