From f4e98653d4336f7fb7f100a269c4a40ffc486596 Mon Sep 17 00:00:00 2001 From: Yaojia Wang Date: Wed, 18 Mar 2026 15:28:11 +0100 Subject: [PATCH] fix: add ca-certificates and libssl-dev to fix OpenSSL TLS errors yfinance curl calls failed with OPENSSL_internal:invalid library in python:3.12-slim. Adding ca-certificates, libssl-dev and curl ensures the OpenSSL libraries are available at runtime. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 48575c9..59296f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.12-slim AS base WORKDIR /app RUN apt-get update && \ - apt-get install -y --no-install-recommends gcc g++ && \ + apt-get install -y --no-install-recommends gcc g++ ca-certificates libssl-dev curl && \ rm -rf /var/lib/apt/lists/* COPY pyproject.toml ./