10 lines
305 B
Docker
10 lines
305 B
Docker
FROM denoland/deno:2.2.2 AS builder
|
|
WORKDIR /app
|
|
COPY deno.json .
|
|
COPY src/ src/
|
|
RUN deno compile --allow-net --allow-read --allow-write --allow-env --output reconciler src/main.ts
|
|
|
|
FROM gcr.io/distroless/cc-debian12
|
|
COPY --from=builder /app/reconciler /usr/local/bin/reconciler
|
|
ENTRYPOINT ["reconciler"]
|