Fix config generation loop and add gosu dependency

This commit is contained in:
Andreas Dueren
2025-06-16 11:44:45 -06:00
parent b645391476
commit 8fa6d134ad
2 changed files with 43 additions and 3 deletions

@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
git \
build-essential \
libolm-dev \
gosu \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@ -36,8 +37,8 @@ COPY start.sh /app/pkg/
VOLUME /app/data
ENV UID=1337 GID=1337
# Add health check endpoint
# Add health check endpoint - check if the appservice port is responding
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:29318/health || exit 1
CMD nc -z localhost 29318 || exit 1
CMD ["/app/pkg/start.sh"]