FROM rust:1.67 WORKDIR /usr/src/myapp COPY . . RUN cargo install --path . CMD ["myapp"]. Then, build and run the Docker image: $ docker build -t my-rust-app ...
確定! 回上一頁