feat: expand MCP server functionality with customer, catalogue, marketing, and user tools and integrate new health indicators and configuration models.
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
FROM eclipse-temurin:25-jre-alpine
|
||||
|
||||
# Non-root user for security
|
||||
RUN addgroup -S app && adduser -S app -G app
|
||||
|
||||
VOLUME /tmp
|
||||
ARG JAR_FILE=target/*.jar
|
||||
COPY ${JAR_FILE} app.jar
|
||||
EXPOSE 8081
|
||||
ENTRYPOINT ["java","-jar","/app.jar"]
|
||||
|
||||
RUN chown app:app /app.jar
|
||||
|
||||
USER app
|
||||
|
||||
EXPOSE 9331
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=60s \
|
||||
CMD wget --quiet --tries=1 --spider http://localhost:9331/actuator/health/liveness || exit 1
|
||||
|
||||
ENTRYPOINT ["java", \
|
||||
"-XX:+UseContainerSupport", \
|
||||
"-XX:MaxRAMPercentage=75.0", \
|
||||
"-Djava.security.egd=file:/dev/./urandom", \
|
||||
"-jar", "/app.jar"]
|
||||
|
||||
Reference in New Issue
Block a user