Update Dockerfile - Bun instead of NPM

This commit is contained in:
Lucas Gabriel 2025-04-29 17:42:39 -03:00 committed by GitHub
parent 2ce89efe7f
commit d07cc0390f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
FROM node:20-slim
FROM oven/bun
# Install ffmpeg and other deps
RUN apt-get update && apt-get install -y ffmpeg git && apt-get clean && rm -rf /var/lib/apt/lists/*
@ -15,4 +15,4 @@ RUN chmod +x /usr/src/app/src/plugins/yt-dlp/yt-dlp
VOLUME /usr/src/app/.env
CMD ["npm", "start"]
CMD ["bun", "start"]