nodemusicbot/Dockerfile

16 lines
206 B
Docker

FROM node:18-bookworm
ENV NODE_ENV=production
RUN apt-get update
RUN apt-get install -y ffmpeg && yt-dlp
WORKDIR /app
COPY ["package.json", "./"]
RUN npm install --omit=dev
COPY . .
CMD ["node", "."]