Fix config generation loop and add gosu dependency
This commit is contained in:
@ -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"]
|
Reference in New Issue
Block a user