Update Dockerfile - Bun instead of NPM
This commit is contained in:
parent
2ce89efe7f
commit
d07cc0390f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:20-slim
|
FROM oven/bun
|
||||||
|
|
||||||
# Install ffmpeg and other deps
|
# Install ffmpeg and other deps
|
||||||
RUN apt-get update && apt-get install -y ffmpeg git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
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
|
VOLUME /usr/src/app/.env
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["bun", "start"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue