feat: update AI model in AskCommand and add Docker support files for improved deployment

This commit is contained in:
2025-12-17 19:31:03 -05:00
parent 0cd3b5c179
commit 94494c1ca5
5 changed files with 235 additions and 3 deletions
+28
View File
@@ -0,0 +1,28 @@
# 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 --only=production
# Copy application files
COPY . .
# Create a non-root user to run the application
RUN addgroup -g 1001 -S nodejs && \
adduser -S nodejs -u 1001 && \
chown -R nodejs:nodejs /app
# Switch to non-root user
USER nodejs
# Expose port (if needed for health checks)
EXPOSE 3000
# Start the bot
CMD ["npm", "start"]