diff --git a/Dockerfile b/Dockerfile index 2ded7a8..d255ca9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # --- Stage 1: Build the Rust binary --- -FROM rust:1.96-slim AS builder +FROM rust:1.96-slim-bookworm AS builder WORKDIR /app RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/* COPY . . @@ -7,7 +7,7 @@ RUN cargo build --release # --- Stage 2: Minimal Playwright Runtime --- # Using the official Playwright image completely avoids missing library/font errors -FROM mcr.microsoft.com/playwright:v1.61.0-jammy +FROM mcr.microsoft.com/playwright:v1.61.0-noble WORKDIR /app