npm and node version fix
Some checks failed
Builds / Discord-Node-Build (push) Has been cancelled
Builds / Discord-Ollama-Container-Build (push) Has been cancelled
Coverage / Discord-Node-Coverage (push) Has been cancelled

This commit is contained in:
quarterturn
2025-05-23 20:31:49 -04:00
parent cf9d29a5dd
commit f902d1eaca
3 changed files with 11 additions and 5 deletions

View File

@@ -1,7 +1,13 @@
FROM node:jod-alpine FROM node:22-alpine
# Install redis-cli for healthcheck
RUN apk add --no-cache redis
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json tsconfig.json ./
COPY src/ ./src/ COPY package*.json ./
RUN npm install RUN npm install
RUN npm run build
COPY . .
CMD ["npm", "run", "prod"] CMD ["npm", "run", "prod"]

View File

@@ -2,5 +2,5 @@
SUBNET_ADDRESS = 172.33.0.0 SUBNET_ADDRESS = 172.33.0.0
# redis port and ip, default redis port is 6379 # redis port and ip, default redis port is 6379
REDIS_IP = 172.33.0.4 REDIS_IP = 172.33.0.100
REDIS_PORT = 6379 REDIS_PORT = 6379

BIN
redis/redis_data/dump.rdb Executable file

Binary file not shown.