Skip to content

Commit d28c05e

Browse files
committed
Remove platform specific code
1 parent ac8675f commit d28c05e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ WORKDIR /app
1010
# Copy the source code into the container
1111
COPY . .
1212

13-
# Build the project in release mode for the specific binaries with musl target
14-
RUN cargo build --release --target x86_64-unknown-linux-musl --bin bolt4rs-server --bin test_client
13+
# Build the project in release mode for the specific binaries
14+
RUN cargo build --release --bin bolt4rs-server --bin test_client
1515

1616
# Runtime stage
1717
FROM alpine:latest
@@ -23,8 +23,8 @@ RUN apk --no-cache add ca-certificates
2323
WORKDIR /app
2424

2525
# Copy the built binaries from the builder stage
26-
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/bolt4rs-server /app/bolt4rs-server
27-
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/test_client /app/test_client
26+
COPY --from=builder /app/target/release/bolt4rs-server /app/bolt4rs-server
27+
COPY --from=builder /app/target/release/test_client /app/test_client
2828

2929
# Expose bolt port
3030
EXPOSE 7687

0 commit comments

Comments
 (0)