mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2025-09-21 06:41:35 +01:00
update Dockerfile
This commit is contained in:
parent
fc2cda0e81
commit
8c3f955f19
1 changed files with 7 additions and 3 deletions
10
Dockerfile
10
Dockerfile
|
@ -3,8 +3,12 @@ FROM node:24-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y ffmpeg && \
|
apt-get install -y \
|
||||||
rm -rf /var/lib/apt/lists/*
|
ffmpeg \
|
||||||
|
build-essential \
|
||||||
|
python3 \
|
||||||
|
git \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
@ -14,4 +18,4 @@ COPY . .
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
Loading…
Reference in a new issue