aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/docker/nginx/Dockerfile2
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"]