mirror of
https://github.com/rice9797/ws4channels.git
synced 2026-11-28 18:58:04 -08:00
26 lines
441 B
Docker
26 lines
441 B
Docker
FROM node:18
|
|
|
|
# Install FFmpeg and Puppeteer dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
ffmpeg \
|
|
libnss3 \
|
|
libatk1.0-0 \
|
|
libatk-bridge2.0-0 \
|
|
libcups2 \
|
|
libdrm2 \
|
|
libxkbcommon0 \
|
|
libxcomposite1 \
|
|
libxdamage1 \
|
|
libxrandr2 \
|
|
libgbm1 \
|
|
libasound2 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
|
|
EXPOSE 9798
|
|
CMD ["node", "index.js"]
|