Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jul 9, 2024
1 parent b2277e6 commit 1cf19e9
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
FROM golang:alpine as builder

LABEL authors="Christian Muehlhaeuser: [email protected]"

WORKDIR /go/markscribe
COPY . .
RUN go build

FROM alpine

COPY --from=builder /go/markscribe/markscribe /go/bin/markscribe

ENTRYPOINT ["/go/bin/markscribe"]
FROM gcr.io/distroless/static
COPY markscribe /usr/local/bin/markscribe
ENTRYPOINT [ "/usr/local/bin/markscribe" ]

0 comments on commit 1cf19e9

Please sign in to comment.