This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
RustyPass/Dockerfile

16 lines
286 B
Text
Raw Normal View History

2024-06-19 14:33:46 -05:00
## - INIT -- ##
# Prereqs
FROM rust
# Setting up the directories
WORKDIR /src
RUN mkdir /build
# Copying the project into it
COPY src/ ./src
COPY Cargo.toml .
## - RUNTIME - ##
# Building the app
CMD ["/bin/bash", "-c", "cargo build && cp ./target/debug/RustyPass /build/RustyPass"]