Update Dockerfile

This commit is contained in:
Luca Palmieri 2023-09-13 09:02:23 +02:00
parent d77bd6dc5e
commit f5283d8746

View file

@ -1,4 +1,4 @@
FROM lukemathwalker/cargo-chef:latest-rust-1.59.0 as chef
FROM lukemathwalker/cargo-chef:latest-rust-1.72.0 as chef
WORKDIR /app
RUN apt update && apt install lld clang -y
@ -16,7 +16,7 @@ ENV SQLX_OFFLINE true
# Build our project
RUN cargo build --release --bin zero2prod
FROM debian:bullseye-slim AS runtime
FROM debian:bookworm-slim AS runtime
WORKDIR /app
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends openssl ca-certificates \