From 80f0b4dbe768cfaf16f6029970dbc5aa37d7df04 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 29 Mar 2025 01:59:13 +0800 Subject: [PATCH 1/5] Disable Dockerfile step --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a99f3c3..108d2d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,6 @@ FROM nginx:latest RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -RUN service nginx restart +# RUN service nginx restart EXPOSE 80 From 606b81cec015e8f013631da044df67e1a448d802 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 29 Mar 2025 03:00:38 +0800 Subject: [PATCH 2/5] Uncomment Docker build step --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 108d2d8..a99f3c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,6 @@ FROM nginx:latest RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -# RUN service nginx restart +RUN service nginx restart EXPOSE 80 From 73b3780326719792fe7495a80fa1fcdfdae7a5e5 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 29 Mar 2025 03:18:20 +0800 Subject: [PATCH 3/5] Fix Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a99f3c3..e37a332 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,5 @@ FROM nginx:latest RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -RUN service nginx restart EXPOSE 80 From 3a4dc8307520569d050f21eddd5409a3a779696e Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 29 Mar 2025 03:44:57 +0800 Subject: [PATCH 4/5] Update listen port --- Dockerfile | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e37a332..029c51c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -EXPOSE 80 +EXPOSE 9486 diff --git a/nginx/nginx.conf b/nginx/nginx.conf index c8ea831..4868f43 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 9486; sendfile on; default_type application/octet-stream; gzip on; From 68d0bc3792929ca48e21ff7129b88ba8000d16c9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 29 Mar 2025 04:16:55 +0800 Subject: [PATCH 5/5] Revert to port 80 --- Dockerfile | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 029c51c..e37a332 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -EXPOSE 9486 +EXPOSE 80 diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 4868f43..c8ea831 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,5 +1,5 @@ server { - listen 9486; + listen 80; sendfile on; default_type application/octet-stream; gzip on;