rhythm-backend/Dockerfile
Dmitri 5a27b386ac
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 9m45s
initial wiring serviec auth
2026-04-28 00:34:58 +02:00

13 lines
244 B
Docker

FROM rust:1.95.0-alpine3.22 AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
# Small runtime image
FROM alpine:3.22
WORKDIR /app
COPY --from=builder /app/target/release/rhythm-backend /app/executable
ENTRYPOINT ["/app/executable"]