1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

build: update docker example to bookworm

This commit is contained in:
Rob Ede
2024-02-05 16:26:50 +00:00
parent a46b707c69
commit b6d60d89ab
3 changed files with 10 additions and 9 deletions

View File

@ -3,7 +3,7 @@
#################
## build stage ##
#################
FROM rust:1-slim-bullseye AS builder
FROM rust:1-slim-bookworm AS builder
WORKDIR /code
# Download crates-io index and fetch dependency code.
@ -22,7 +22,7 @@ RUN cargo build --release
###############
## run stage ##
###############
FROM debian:bullseye-slim
FROM bitnami/minideb:bookworm
WORKDIR /app
# copy server binary from build stage