1
0

🏗️」 wip: work in progress, not done yet.

This commit is contained in:
2025-01-10 16:57:23 +01:00
parent bccd5c1ec6
commit 45ef1f3ddf
14 changed files with 88 additions and 51 deletions

View File

@ -13,12 +13,12 @@ RUN set -x \
VOLUME /etc/nginx
RUN mkdir -p /etc/nginx/sites-available
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN [ "chmod", "+x", "/docker-entrypoint.sh" ]
COPY docker-healthcheck.sh /docker-healthcheck.sh
RUN chmod +x /docker-healthcheck.sh
ENTRYPOINT [ "/docker-entrypoint.sh" ]
WORKDIR /etc/nginx
STOPSIGNAL SIGQUIT
EXPOSE 80
CMD [ "nginx", "-g", "daemon off;" ]
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD /docker-healthcheck.sh