Something went wrong. Try again.
A simple to-do app focused on tasks that can be completed within a specific time span. taskline.tobinio.dev
Something went wrong. Try again.
task-line Dockerfile.api
327 B · 20 lines
at rust-backend
123456789101112131415161718192021# BuildFROM rust:1.95 AS builderWORKDIR /app
COPY . .RUN cargo build --release
# RunFROM debian:stable-slim
RUN 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 8080
CMD ["./api"]