Files

21 lines
304 B
Docker
Raw Permalink Normal View History

# Use Node.js LTS version
FROM node:20-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --omit=dev
# Copy application files
COPY . .
# Expose port (if needed for health checks)
EXPOSE 3000
# Start the bot
CMD ["npm", "start"]