discord-bot/Dockerfile
2024-12-16 18:05:49 +00:00

17 lines
246 B
Docker

# Use Node.js LTS version
FROM node:20-slim
# Create app directory
WORKDIR /usr/src/app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Start the bot
CMD [ "node", "index.js" ]