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

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillker committed May 22, 2022
1 parent e6cd92f commit 2784a14
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 2784a14

Please sign in to comment.