From baa77475836f3e974474422bebda1ff8abc4caf0 Mon Sep 17 00:00:00 2001 From: ats-tech25 Date: Fri, 7 Nov 2025 22:17:23 +0000 Subject: [PATCH] chore(docker): Disable default port exposure and health check in Dockerfile - Comment out default port exposure (EXPOSE 8080) - Disable default health check command - Prepare Dockerfile for more flexible container configuration - Allows for custom port mapping and health check strategies at runtime --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f9f723..ed5b232 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,12 +37,12 @@ COPY --from=builder /app/cli . # Copy templates if they exist COPY --from=builder /app/internal/templates ./internal/templates -# Expose port (adjust if needed) -EXPOSE 8080 +# # Expose port (adjust if needed) +# EXPOSE 8080 -# Health check - give more time for startup -HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health || exit 1 +# # Health check - give more time for startup +# HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \ +# CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health || exit 1 # Run the server CMD ["./server"]