Skip to content

Commit

Permalink
Merge pull request #8 from benfrisbie/docker-use-scratch
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
benfrisbie authored Feb 3, 2022
2 parents 6afae2a + d268c4b commit 18e49e4
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 @@ -19,8 +19,8 @@ RUN go build -o /gowordle
###
# Stage 2: Copy binary into small image
###
FROM golang:1.17-alpine
FROM scratch
COPY --from=build /gowordle /gowordle
# Copy word list into image
COPY words.txt ./
ENTRYPOINT ["/gowordle"]
ENTRYPOINT ["/gowordle"]

0 comments on commit 18e49e4

Please sign in to comment.