Fix jwt-token

This commit is contained in:
2025-09-23 13:56:59 +02:00
parent 8fbe2cb354
commit 93d87fb73c
2 changed files with 128 additions and 4 deletions

View File

@@ -9,9 +9,7 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
# Install only production dependencies # Install only production dependencies
RUN npm ci --only=production RUN npm ci --only=production && npm cache clean --force# Copy source code
# Copy source code
COPY . . COPY . .
# Create non-root user # Create non-root user

126
data-retention-service/package-lock.json generated Normal file
View File

@@ -0,0 +1,126 @@
{
"name": "data-retention-service",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "data-retention-service",
"version": "1.0.0",
"license": "MIT",
"dependencies": {
"node-cron": "^3.0.2",
"pg": "^8.11.3",
"sequelize": "^6.32.1"
},
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/node-cron": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/node-cron/-/node-cron-3.0.2.tgz",
"integrity": "sha512-iP8l0yGlNpE0e6q1o185yOApANRe47UPbLf4YxfbiNHt/RU5eBcGB/e0oudruheSf+LQeDMezqC5BVAb5wwRcQ==",
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/pg": {
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/pg/-/pg-8.11.3.tgz",
"integrity": "sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==",
"dependencies": {
"buffer-writer": "2.0.0",
"packet-reader": "1.0.0",
"pg-connection-string": "^2.6.2",
"pg-pool": "^3.6.2",
"pg-protocol": "^1.6.0",
"pg-types": "^2.1.0"
},
"engines": {
"node": ">= 8.0.0"
},
"optionalDependencies": {
"pg-cloudflare": "^1.1.1"
},
"peerDependencies": {
"pg-native": ">=3.0.1"
},
"peerDependenciesMeta": {
"pg-native": {
"optional": true
}
}
},
"node_modules/sequelize": {
"version": "6.32.1",
"resolved": "https://registry.npmjs.org/sequelize/-/sequelize-6.32.1.tgz",
"integrity": "sha512-3Iat0nLn9+pJWJs8SJmhLOV9CpHOiZPwFKnvjYHWy4CHkxtIu6pA7nZEckdlb9ckylIhJsWUCgXXEyRWfCzBMw==",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/sequelize"
}
],
"dependencies": {
"debug": "^4.3.4",
"dottie": "^2.0.6",
"inflection": "^1.13.4",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"pg-connection-string": "^2.6.1",
"retry-as-promised": "^7.0.4",
"semver": "^7.5.4",
"sequelize-pool": "^7.1.0",
"toposort-class": "^1.0.1",
"uuid": "^8.3.2",
"validator": "^13.9.0",
"wkx": "^0.5.0"
},
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"ibm_db": "^2.0.0",
"mariadb": "^3.0.0",
"mysql2": "^2.2.5 || ^3.0.0",
"oracledb": "^5.1.0",
"pg": "^8.5.1",
"pg-hstore": "^2.3.2",
"snowflake-sdk": "^1.6.0",
"sqlite3": "^5.0.0",
"tedious": "^11.0.1"
},
"peerDependenciesMeta": {
"ibm_db": {
"optional": true
},
"mariadb": {
"optional": true
},
"mysql2": {
"optional": true
},
"oracledb": {
"optional": true
},
"pg": {
"optional": true
},
"pg-hstore": {
"optional": true
},
"snowflake-sdk": {
"optional": true
},
"sqlite3": {
"optional": true
},
"tedious": {
"optional": true
}
}
}
}
}