Skip to content

Commit

Permalink
Fix target variable in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Oct 11, 2024
1 parent b15be29 commit bb172c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ RUN RUSTFLAGS="-C target-feature=+crt-static -C target-cpu=${TARGET_CPU}" cargo
RUN ls /build/target/release

FROM scratch
ARG TARGET
ARG TARGET_CPU

COPY --from=builder /build/target/${TARGET}/release/laya-server /bin/laya-server

ENTRYPOINT ["/bin/laya-server"]

0 comments on commit bb172c4

Please sign in to comment.