File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ WORKDIR /app
1010# Copy the source code into the container
1111COPY . .
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
1717FROM alpine:latest
@@ -23,8 +23,8 @@ RUN apk --no-cache add ca-certificates
2323WORKDIR /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
3030EXPOSE 7687
You can’t perform that action at this time.
0 commit comments