## Setup
# Use the Rust container as a base
FROM rust
# Setup directories
RUN mkdir /src /build
WORKDIR /src
# Copy project into Docker image
COPY Cargo.toml .
COPY src/ ./src
## Run
CMD cargo build && cp ./target/debug/RustyPass /build/