Skip to content

Commit

Permalink
chore: changes names in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmkowalski committed Feb 20, 2024
1 parent 7020a6b commit 1151b64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
FROM golang:1.21.6 as builder

# Set the working directory
WORKDIR /go/src/github.com/BuxOrg/bux-server
WORKDIR /go/src/github.com/bitcoin-sv/spv-wallet

COPY . ./

# Build binary
RUN GOOS=linux go build -o bux cmd/server/main.go
RUN GOOS=linux go build -o spvwallet cmd/server/main.go

# Get runtime image
FROM registry.access.redhat.com/ubi9-minimal

# Version
LABEL version="1.0" name="Bux"
LABEL version="1.0" name="SPVWallet"

# Set working directory
WORKDIR /

# Copy binary to runner
COPY --from=builder /go/src/github.com/BuxOrg/bux-server/bux .
COPY --from=builder /go/src/github.com/bitcoin-sv/spv-wallet/engine .

# Set entrypoint
ENTRYPOINT ["/bux"]
ENTRYPOINT ["/spvwallet"]

0 comments on commit 1151b64

Please sign in to comment.