Add dependency

This commit is contained in:
2025-06-12 07:45:09 +09:00
parent 8ddd5ad103
commit ca9e18d12f

View File

@ -22,9 +22,18 @@ FROM oven/bun:latest AS runtime
WORKDIR /app WORKDIR /app
# Install MeCab for English to Katakana conversion # Install MeCab for English to Katakana conversion and Chrome for Puppeteer
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y mecab mecab-ipadic-utf8 libmecab-dev && \ apt-get install -y \
mecab mecab-ipadic-utf8 libmecab-dev \
wget gnupg ca-certificates \
fonts-liberation libasound2 libatk-bridge2.0-0 \
libdrm2 libxcomposite1 libxdamage1 libxrandr2 \
libgbm1 libxss1 libgtk-3-0 libxshmfence1 && \
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
apt-get update && \
apt-get install -y google-chrome-stable && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*