npm and node version fix
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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"]
|
||||||
|
|||||||
@@ -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
BIN
redis/redis_data/dump.rdb
Executable file
Binary file not shown.
Reference in New Issue
Block a user