Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
door7302 authored Dec 11, 2023
1 parent 0cb1641 commit b4b7845
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 @@ -9,7 +9,7 @@ WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download

RUN go build -o ./jtso -ldflags "${LDFLAGS}" ./main.go
RUN CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build -o ./jtso -ldflags "${LDFLAGS}" ./main.go

FROM alpine:latest

Expand All @@ -26,4 +26,4 @@ RUN mkdir -p /var/metadata

EXPOSE 8081

ENTRYPOINT ["./jtso"]
ENTRYPOINT ["./jtso"]

0 comments on commit b4b7845

Please sign in to comment.