2023-09-15 22:19:53 -05:00
|
|
|
FROM node:18-bookworm
|
2023-08-29 11:37:11 -05:00
|
|
|
ENV NODE_ENV=production
|
|
|
|
|
2023-09-15 22:19:53 -05:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y ffmpeg
|
|
|
|
RUN apt-get install -y yt-dlp
|
2023-08-29 11:37:11 -05:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ["package.json", "./"]
|
|
|
|
|
|
|
|
RUN npm install --omit=dev
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
CMD ["node", "."]
|