Skip to content

Commit

Permalink
add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
erulabs committed Jun 18, 2024
1 parent 81c89ec commit 7538ccb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**
!cmd
!vendor
!go.mod
!go.sum
!main.go
!LICENSE
!README.md
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ RUN go build -o buckit

FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y ca-certificates curl && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/buckit /usr/local/bin/
ENTRYPOINT ["buckit"]

0 comments on commit 7538ccb

Please sign in to comment.