add ONE_SHOT so container exits after run
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-17 17:49:02 +00:00
parent 0614aa0565
commit b962b65145
10 changed files with 29 additions and 4 deletions

View File

@ -17,6 +17,7 @@ ENV PGID=1000
ENV TZ=UTC
ENV GENERATE_DHPARAM=true
ENV INTERVAL="0 */6 * * *"
ENV ONE_SHOT=false
# Single domain
ENV DOMAINS=
@ -68,6 +69,7 @@ COPY root /
RUN chmod +x /container-init.sh && \
chmod +x /certbot-prepare.sh && \
chmod +x /certbot-renew.sh && \
chmod +x /check-one-shot.sh && \
chown -R ${PUID}:${PGID} /app /config
ENTRYPOINT [ "/init" ]