chat ws with pfp is working

This commit is contained in:
David Bruno Vontor
2026-05-28 17:23:04 +02:00
parent f19375254f
commit 8269d044a2
28 changed files with 299 additions and 90 deletions

View File

@@ -2,11 +2,14 @@ FROM python:3.12-slim
WORKDIR /app
# Trust Windows/corporate root CAs before any network operations
COPY certs/windows-ca-bundle.crt /usr/local/share/ca-certificates/windows-ca-bundle.crt
RUN update-ca-certificates
# Install system dependencies including Node.js for yt-dlp JavaScript runtime
RUN apt update && apt install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
weasyprint \
libcairo2 \
pango1.0-tools \
libpango-1.0-0 \
libgobject-2.0-0 \
ffmpeg \
@@ -14,9 +17,9 @@ RUN apt update && apt install -y \
curl \
libmagic1 \
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt install -y nodejs \
&& apt-get install -y --no-install-recommends nodejs \
&& update-ca-certificates \
&& apt clean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .