💻 My personal website blog.kacaii.dev/
blog gleam lustre

:bricks: close #1

+7 -2
+4 -2
dockerfile
··· 15 15 # Final stage 16 16 FROM erlang:${ERLANG_VERSION}-alpine 17 17 18 - EXPOSE 8000 19 - 20 18 RUN \ 21 19 addgroup --system webapp && \ 22 20 adduser --system webapp -g webapp 23 21 24 22 COPY --from=build /blog/build/erlang-shipment /blog 23 + COPY healthcheck.sh /app/healthcheck.sh 24 + 25 + RUN chmod +x /app/healthcheck.sh 26 + HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD [ "/blog/healthcheck.sh" ] 25 27 26 28 WORKDIR /blog 27 29 ENTRYPOINT ["/blog/entrypoint.sh"]
+3
healthcheck.sh
··· 1 + #!/bin/sh 2 + 3 + exec wget --spider --quiet 'http://127.0.0.1:8000'