From b0bd731fc78e7781f6555b46a22c70f48cd8c331 Mon Sep 17 00:00:00 2001 From: smolkik-code Date: Thu, 25 Jun 2026 14:08:42 +0700 Subject: [PATCH] fix: nginx - remove default.conf, use app.conf --- frontend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index c1f2abe..767d408 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -7,6 +7,7 @@ RUN npm run build FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html -COPY nginx.conf /etc/nginx/conf.d/default.conf +RUN rm -f /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/app.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]