Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from jwillker/fix/dockerfile
Browse files Browse the repository at this point in the history
fix: dockerfile
  • Loading branch information
jwillker committed May 22, 2022
2 parents e6cd92f + 2784a14 commit cd2c778
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
FROM golang:1.18-alpine as builder

RUN apk update && \
apk add --no-cache git && \
rm -rf /var/cache/apk/*

WORKDIR /app/
COPY . /app/

RUN go mod download && \
go build -o sherlock


FROM alpine

COPY --from=builder /app/sherlock /sherlock

COPY sherlock /sherlock
ENTRYPOINT [ "/sherlock" ]

0 comments on commit cd2c778

Please sign in to comment.