1 2 3 4 5 6 7 8 9 10
# build stage FROM rust:latest as cargo-build WORKDIR /usr/src/gico COPY . . RUN cargo install --path . EXPOSE 9090 CMD ["gico"]