RustyPass/Dockerfile
2024-06-19 16:02:12 -04:00

14 lines
No EOL
240 B
Docker

## 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/