diff options
author | Ellie Huxtable <e@elm.sh> | 2021-04-13 22:31:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 21:31:41 +0000 |
commit | 9c8d426184013a9a6e89923c5bfabead70881e15 (patch) | |
tree | ef7b76e9cb854cb99337069b6d94c6eb2a055e8a /Dockerfile | |
parent | 5751463942cc91f1f1ffaf6e2ac633d7a0085f25 (diff) |
Add dockerfile (#32)
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"] |