From 4361230c8bcd52d7215e08b60f9ee9a523b71efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Mon, 20 Jul 2026 20:49:18 +0200 Subject: [PATCH] multidb --- Cargo.toml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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/* \