BotWeb / Dockerfile
fikxzmodzz's picture
Create Dockerfile
c2e60e7 verified
Raw
History Blame Contribute Delete
367 Bytes
FROM node:23-bullseye
# Install ffmpeg (WAJIB buat fitur audio lu)
RUN apt-get update && apt-get install -y ffmpeg \
&& apt-get clean
# Set working dir
WORKDIR /app
# Copy package dulu biar cache enak
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy semua file
COPY . .
# Port HuggingFace
EXPOSE 7860
# Start app
CMD ["node", "index.js"]