chore(infra): pipeline env (OPENAI/YOUTUBE_OAUTH_*) + 폰트

music-lab 서비스에 OpenAI/YouTube OAuth 환경변수 + Claude 모델 변수 추가.
agent-office에도 CLAUDE_HAIKU_MODEL/CLAUDE_SONNET_MODEL 노출.
Alpine 기반 music-lab 이미지에 ttf-dejavu + fontconfig 설치하고
PIL이 참조하는 Debian 스타일 경로(/usr/share/fonts/truetype/dejavu)로
심볼릭 링크 생성하여 썸네일/그라디언트 폰트 로딩 보장.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-07 17:33:44 +09:00
parent 7552ce4263
commit bd97cc1e97
2 changed files with 15 additions and 1 deletions

View File

@@ -1,7 +1,13 @@
FROM python:3.12-alpine
ENV PYTHONUNBUFFERED=1
RUN apk add --no-cache ffmpeg
# ffmpeg for audio/video processing, ttf-dejavu + fontconfig for PIL overlays.
# Alpine installs DejaVu fonts to /usr/share/fonts/dejavu/, but app code
# references the Debian-style path; symlink for compatibility.
RUN apk add --no-cache ffmpeg ttf-dejavu fontconfig \
&& mkdir -p /usr/share/fonts/truetype \
&& ln -sf /usr/share/fonts/dejavu /usr/share/fonts/truetype/dejavu \
&& fc-cache -f
WORKDIR /app
COPY requirements.txt .