Skip to content

Commit

Permalink
Changed Dockerfile to work with multiple files in cmd/tumlive
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Nov 19, 2023
1 parent cdfe857 commit 900c34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ COPY --from=node /app/web/node_modules ./web/node_modules

# bundle version into binary if specified in build-args, dev otherwise.
ARG version=dev
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -extldflags '-static' -X main.VersionTag=${version}" -o /go/bin/tumlive cmd/tumlive/tumlive.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -extldflags '-static' -X main.VersionTag=${version}" -o /go/bin/tumlive cmd/tumlive/*.go

FROM alpine:3.18
RUN apk add --no-cache tzdata openssl
Expand Down

0 comments on commit 900c34a

Please sign in to comment.