diff --git a/Cargo.toml b/Cargo.toml index 68825ba..2e3e292 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "rustpad" version = "0.0.1-dev" edition = "2024" -rust-version = "1.85" +rust-version = "1.97" description = "Collaborative Markdown notepad built with Axum, WebSockets and SQLite, PostgreSQL and MySQL" license = "MIT" diff --git a/Dockerfile b/Dockerfile index 8b49134..0d03f35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.85-bookworm AS builder +FROM rust:slim-trixie AS builder WORKDIR /app COPY Cargo.toml Cargo.lock ./ @@ -8,7 +8,7 @@ COPY static ./static RUN cargo build --release -FROM debian:bookworm-slim AS runtime +FROM debian:13-slim AS runtime RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates curl \ && rm -rf /var/lib/apt/lists/* \