Something went wrong. Try again.
A simple to-do app focused on tasks that can be completed within a specific time span.
Something went wrong. Try again.
task-line Dockerfile.api
327 B · 20 lines
at rust-backend
123456789101112131415161718192021# BuildFROM rust:1.95 AS builderWORKDIR /appCOPY . .RUN cargo build --release# RunFROM debian:stable-slimRUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates && \ rm -rf /var/lib/apt/lists/*WORKDIR /appCOPY --from=builder /app/target/release/api .EXPOSE 8080CMD ["./api"]