nodemusicbot/Dockerfile

16 lines
203 B
Docker
Raw Permalink Normal View History

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
2024-07-09 23:30:40 -05:00
RUN apt-get install -y ffmpeg yt-dlp
2023-08-29 11:37:11 -05:00
WORKDIR /app
COPY ["package.json", "./"]
RUN npm install --omit=dev
COPY . .
CMD ["node", "."]