Skip to content

Commit

Permalink
dockerfile: fix dockerfile and leveldb
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Oct 6, 2023
1 parent 4e97f82 commit f5d0232
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/ -tags='netgo timetzdata' -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"' ./cmd/siapfsd
RUN go build -o bin/ -tags='netgo timetzdata' -trimpath -a -ldflags '-s -w' ./cmd/siapfsd

FROM scratch
FROM debian:stable-slim

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

Expand Down

0 comments on commit f5d0232

Please sign in to comment.