diff options
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -7,10 +7,6 @@ WORKDIR /src RUN --mount=type=cache,target=/go ["go", "build", "-trimpath", "-ldflags=-s -w"] # run stage -# -# this stage used to use "FROM scratch", but we need ca-certificates in -# order to connect to the NWS API. -FROM gcr.io/distroless/static -ENV TZ "America/New_York" +FROM scratch COPY --from=build /src/jim-bot /jim-bot CMD ["/jim-bot"] |