Skip to content

Commit

Permalink
Set new output path
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Mar 23, 2024
1 parent 0a8709a commit d0b198d
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 @@ -4,12 +4,12 @@ RUN apk add build-base
COPY go.sum go.mod ./
RUN go mod download
COPY . .
RUN go build ./cmd/tf2bdd/main.go
RUN go build -o build/tf2bdd ./cmd/tf2bdd/main.go

FROM alpine:latest
RUN apk add dumb-init
WORKDIR /app
COPY --from=build /build/tf2bdd .
COPY --from=build /build/build/tf2bdd .

EXPOSE 8899
ENTRYPOINT ["dumb-init", "--"]
Expand Down

0 comments on commit d0b198d

Please sign in to comment.