diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..4ef5f15f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +# no point in tagging the rust version, currently using nightly +FROM rust:slim-buster + +RUN apt update && apt -y install libssl-dev libpq-dev pkg-config make +RUN rustup default nightly + +WORKDIR /atuin +COPY . /atuin + +RUN cargo build --release + +ENTRYPOINT ["/atuin/target/release/atuin"] |