Skip to content

Commit

Permalink
docker: update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Oct 6, 2023
1 parent c781d8b commit 8119d4a
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 @@ -13,9 +13,9 @@ COPY . .

# Build the Go application
RUN go generate ./...
RUN go build -o bin/ ./cmd/siapfsd
RUN go build -o bin/ -tags='netgo timetzdata' -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"' ./cmd/siapfsd

FROM debian:stable-slim
FROM scratch

COPY --from=builder /app/bin/* /usr/bin/

Expand Down

0 comments on commit 8119d4a

Please sign in to comment.