Files
workout/Dockerfile
Timo Boomers 7638592c03
Some checks failed
Cargo Build & Test / Push to container registry (push) Failing after 15s
added Dockerfile
2025-07-18 11:12:21 +02:00

11 lines
300 B
Docker

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"]