From 7638592c03fd3e6b3b7d9a2102eedf73c98885d7 Mon Sep 17 00:00:00 2001 From: Timo Boomers Date: Fri, 18 Jul 2025 11:12:21 +0200 Subject: [PATCH] added Dockerfile --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aaf7175 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM rust:1.67 as builder +WORKDIR /usr/src/myapp +COPY . . +RUN cargo install --path . + +FROM debian:bullseye-slim +RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* +COPY --from=builder /usr/local/cargo/bin/workout /usr/local/bin/workout +CMD ["workout"] +