Skip to content

Commit 154bd0c

Browse files
Fix wrong release path
Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name>
1 parent 565f88e commit 154bd0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN apt-get install -y build-essential clang
66
WORKDIR /app
77
COPY . /app
88
RUN cargo clean && cargo build --release --target x86_64-unknown-linux-gnu
9-
RUN strip ./target/release/sonic
9+
RUN strip ./target/x86_64-unknown-linux-gnu/release/sonic
1010

1111
FROM debian:buster-slim
1212

1313
WORKDIR /usr/src/sonic
1414

15-
COPY --from=build /app/target/release/sonic /usr/local/bin/sonic
15+
COPY --from=build /app/target/x86_64-unknown-linux-gnu/release/sonic /usr/local/bin/sonic
1616

1717
CMD [ "sonic", "-c", "/etc/sonic.cfg" ]
1818

0 commit comments

Comments
 (0)