nodemusicbot/Dockerfile

17 lines
226 B
Docker

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