From 9c8d426184013a9a6e89923c5bfabead70881e15 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 13 Apr 2021 22:31:41 +0100 Subject: Add dockerfile (#32) --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') 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"] -- cgit v1.3.1