diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-03-03 23:39:40 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-03-03 23:39:40 +0800 |
commit | 5ab191fecfb9f8e747df5c90e227bdbed934af3c (patch) | |
tree | 02358c57784265943efb4de5eca8e41bd7957a36 | |
parent | 3c2760158704b645eb795a9318d90ec2e26c83f0 (diff) | |
download | crupest-5ab191fecfb9f8e747df5c90e227bdbed934af3c.tar.gz crupest-5ab191fecfb9f8e747df5c90e227bdbed934af3c.tar.bz2 crupest-5ab191fecfb9f8e747df5c90e227bdbed934af3c.zip |
fix(nginx): docker cache problem.
-rw-r--r-- | services/docker/nginx/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
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"] |