diff options
Diffstat (limited to 'services/docker/nginx/Dockerfile')
-rw-r--r-- | services/docker/nginx/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/docker/nginx/Dockerfile b/services/docker/nginx/Dockerfile index 5db447b..dfaa4a4 100644 --- a/services/docker/nginx/Dockerfile +++ b/services/docker/nginx/Dockerfile @@ -1,5 +1,5 @@ FROM debian AS build-www -ADD --chmod=755 install-hugo.bash build-www.bash /app/ +ADD install-hugo.bash build-www.bash /app/ COPY --from=www . /app/src/ WORKDIR /app RUN /app/install-hugo.bash @@ -7,7 +7,7 @@ RUN /app/build-www.bash FROM nginx:mainline COPY --from=build-www /app/src/public /srv/www -ADD mail-robots.txt /srv/mail/robots.txt RUN apt update && apt-get install -y tini certbot && rm -rf /var/lib/apt/lists/* -ADD --chmod=755 certbot.bash nginx-wrapper.bash /app/ +ADD mail-robots.txt /srv/mail/robots.txt +ADD certbot.bash nginx-wrapper.bash /app/ CMD ["/usr/bin/tini", "--", "/app/nginx-wrapper.bash"] |