Update Dockerfile
This commit is contained in:
14
Dockerfile
14
Dockerfile
@ -26,25 +26,15 @@ WORKDIR /app
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
mecab mecab-ipadic-utf8 libmecab-dev \
|
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 && \
|
--no-install-recommends && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN bunx puppeteer browsers install chrome
|
||||||
|
|
||||||
# Copy built application from builder stage
|
# Copy built application from builder stage
|
||||||
COPY --from=builder /app .
|
COPY --from=builder /app .
|
||||||
|
|
||||||
# Create necessary directories with proper permissions
|
|
||||||
RUN mkdir -p data public/podcast_audio
|
|
||||||
|
|
||||||
# Expose ports
|
# Expose ports
|
||||||
EXPOSE 3000 3001
|
EXPOSE 3000 3001
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user