From c9e55091417207ffa0fb550a40c308c77860da27 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Mar 2025 23:39:40 +0800 Subject: fix(nginx): docker cache problem. --- services/docker/nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/docker/nginx/Dockerfile b/services/docker/nginx/Dockerfile index 9f5b7fe..3169e00 100644 --- a/services/docker/nginx/Dockerfile +++ b/services/docker/nginx/Dockerfile @@ -3,8 +3,8 @@ COPY --from=www . /project/ RUN ls && hugo FROM nginx:mainline -COPY --from=build-www /project/public /srv/www RUN apt update && apt-get install -y tini certbot && rm -rf /var/lib/apt/lists/* ADD mail-robots.txt /srv/mail/robots.txt ADD certbot.bash nginx-wrapper.bash /app/ +COPY --from=build-www /project/public /srv/www CMD ["/usr/bin/tini", "--", "/app/nginx-wrapper.bash"] -- cgit v1.2.3