From 692350f32b9f8024b9e85317369c61c1951e0ed3 Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 5 Aug 2023 11:24:31 +0800 Subject: [PATCH] fix: update nginx config --- Dockerfile | 2 +- nginx/{ => conf.d}/root.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename nginx/{ => conf.d}/root.conf (100%) diff --git a/Dockerfile b/Dockerfile index 6a5dcc5..0849708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN pnpm build FROM nginx:stable-alpine as production-stage -COPY --from=build-stage /app/nginx /etc/nginx/ +COPY --from=build-stage /app/nginx/conf.d /etc/nginx/conf.d COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 diff --git a/nginx/root.conf b/nginx/conf.d/root.conf similarity index 100% rename from nginx/root.conf rename to nginx/conf.d/root.conf