We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a5201 commit cb09c9dCopy full SHA for cb09c9d
1 file changed
Dockerfile
@@ -1,5 +1,6 @@
1
# Build stage - target x86_64 for ECS Fargate compatibility
2
-FROM --platform=linux/amd64 rust:1.90.0 AS builder
+# Use bookworm variant to match runtime stage GLIBC version
3
+FROM --platform=linux/amd64 rust:1.90.0-bookworm AS builder
4
5
# Set environment variables for consistent builds
6
ENV CARGO_TARGET_DIR=/app/target
@@ -40,9 +41,9 @@ USER appuser
40
41
WORKDIR /app
42
EXPOSE 8080
43
-# Health check endpoint
44
+# Health check endpoint (using root path which returns version info)
45
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
- CMD curl -f http://localhost:8080/health || exit 1
46
+ CMD curl -f http://localhost:8080/ || exit 1
47
48
# Run the binary directly
49
ENTRYPOINT ["/app/source-data-proxy"]
0 commit comments