Skip to content

Commit cb09c9d

Browse files
committed
chore: update runtime to utilize glibc
1 parent 79a5201 commit cb09c9d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Build stage - target x86_64 for ECS Fargate compatibility
2-
FROM --platform=linux/amd64 rust:1.90.0 AS builder
2+
# Use bookworm variant to match runtime stage GLIBC version
3+
FROM --platform=linux/amd64 rust:1.90.0-bookworm AS builder
34

45
# Set environment variables for consistent builds
56
ENV CARGO_TARGET_DIR=/app/target
@@ -40,9 +41,9 @@ USER appuser
4041
WORKDIR /app
4142
EXPOSE 8080
4243

43-
# Health check endpoint
44+
# Health check endpoint (using root path which returns version info)
4445
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
45-
CMD curl -f http://localhost:8080/health || exit 1
46+
CMD curl -f http://localhost:8080/ || exit 1
4647

4748
# Run the binary directly
4849
ENTRYPOINT ["/app/source-data-proxy"]

0 commit comments

Comments
 (0)