diff --git a/Dockerfile b/Dockerfile index ba11457..d66e49d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,25 +26,15 @@ WORKDIR /app RUN apt-get update && \ 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 \ - --no-install-recommends && \ - 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 \ --no-install-recommends && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +RUN bunx puppeteer browsers install chrome + # Copy built application from builder stage COPY --from=builder /app . -# Create necessary directories with proper permissions -RUN mkdir -p data public/podcast_audio - # Expose ports EXPOSE 3000 3001