mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-09 20:14:59 +00:00
Update Dockerfile - Bun instead of NPM
This commit is contained in:
parent
2ce89efe7f
commit
d07cc0390f
@ -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…
x
Reference in New Issue
Block a user