From f7119519210eb39b64970191ae916fc99547483a Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Mon, 8 Jan 2024 15:30:20 +0100 Subject: [PATCH] fix: cloudevents spec location and workdir in container image Signed-off-by: Mark Sagi-Kazar --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a4a4447..ab37f7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,10 @@ RUN apk add --update --no-cache ca-certificates tzdata bash SHELL ["/bin/bash", "-c"] +# This is so we can reuse examples in development +WORKDIR /etc/openmeter + COPY --from=builder /usr/local/bin/benthos /usr/local/bin/ -COPY ./etc/cloudevents.spec.json /etc/openmeter/ +COPY ./cloudevents.spec.json /etc/openmeter/ CMD benthos