From d04fcd4095452fd905f5ccdaea929e0882897670 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 ++++- etc/cloudevents.spec.json => cloudevents.spec.json | 0 2 files changed, 4 insertions(+), 1 deletion(-) rename etc/cloudevents.spec.json => cloudevents.spec.json (100%) 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 diff --git a/etc/cloudevents.spec.json b/cloudevents.spec.json similarity index 100% rename from etc/cloudevents.spec.json rename to cloudevents.spec.json