diff --git a/Dockerfile b/Dockerfile index a60d9ca..add0e24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,12 @@ COPY import_map.json ./import_map.json RUN deno task compile # -------- Stage 2: Minimal runtime environment -------- -FROM alpine:latest +FROM debian:bookworm-slim -# Optional: Install curl for container-level health checks (not needed for production-only binaries) -RUN apk add --no-cache curl +# Optional: Install curl for container-level health checks +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl \ + && rm -rf /var/lib/apt/lists/* # Copy only the compiled application binary from the builder stage COPY --from=builder /app/app /app/app