deploy: add portainer readiness healthchecks

This commit is contained in:
lingniu
2026-07-01 12:14:45 +08:00
parent 5ff7cfb9bb
commit bc60017c30
3 changed files with 58 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ ENV APP_NAME=${APP_NAME}
ENV APP_VERSION=${APP_VERSION}
ENV JAVA_OPTS="--sun-misc-unsafe-memory-access=allow"
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY modules/apps/${APP_NAME}/target/${APP_NAME}.jar /app/app.jar