diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b4b66b4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM rust:slim-bullseye + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y musl-dev pkg-config libssl-dev + +WORKDIR /usr/src/myapp +COPY . . + +RUN cargo install --path . + +ENTRYPOINT ["/usr/local/cargo/bin/nostcat"] + +CMD ["--help"]