From 7ea67a7951db710784de1830819af32da49511ad Mon Sep 17 00:00:00 2001 From: Adam French Date: Sun, 25 Jan 2026 16:00:20 +0000 Subject: [PATCH] fix compile times --- nginx/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 2b05179..900db37 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -14,18 +14,19 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ && apt-get install -y nodejs \ && npm install -g npm@latest -COPY nginx.conf.template /etc/nginx/nginx.conf.template -COPY nginx_setup.conf.template /etc/nginx/nginx_setup.conf.template -COPY robots.txt /etc/nginx/html/robots.txt -COPY entrypoint.sh /entrypoint.sh WORKDIR /app COPY vue/ ./ RUN npm install RUN npm run build + RUN mkdir -p /etc/nginx/html \ && cp -r ./dist/* /etc/nginx/html/ +COPY nginx.conf.template /etc/nginx/nginx.conf.template +COPY nginx_setup.conf.template /etc/nginx/nginx_setup.conf.template +COPY robots.txt /etc/nginx/html/robots.txt +COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]