Skip to content

Commit

Permalink
fix dockerfile AS keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
shani1998 committed Sep 16, 2024
1 parent 8460fd4 commit 3cb3b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ COPY . .
RUN CGO_ENABLED=0 go build -mod=vendor -o bin/server ./cmd/

# copy binary from builder
FROM alpine:latest as runner
FROM alpine:latest AS runner
RUN apk --no-cache add curl
WORKDIR /bin
COPY --from=builder ["/go/src/github.com/shani1998/k8s-utility-controller/bin", "./"]
ENTRYPOINT ["server"]
ENTRYPOINT ["server"]

0 comments on commit 3cb3b32

Please sign in to comment.