Compare commits

..

1 Commits

Author SHA1 Message Date
5eb382ec30 chore(deps): update all dependencies
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-01-15 01:15:00 +00:00
4 changed files with 64 additions and 43 deletions

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed # Install dependencies only when needed
FROM node:16-alpine AS deps FROM node:22-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat
RUN yarn global add pnpm RUN yarn global add pnpm
@ -11,7 +11,7 @@ RUN pnpm i
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM node:16-alpine AS builder FROM node:22-alpine AS builder
WORKDIR /app WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
@ -27,7 +27,7 @@ RUN yarn build
# RUN npm run build # RUN npm run build
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM node:16-alpine AS runner FROM node:22-alpine AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV production ENV NODE_ENV production

View File

@ -22,12 +22,12 @@
"@graphql-codegen/typescript-operations": "^2.5.3", "@graphql-codegen/typescript-operations": "^2.5.3",
"@graphql-codegen/typescript-react-apollo": "^3.3.3", "@graphql-codegen/typescript-react-apollo": "^3.3.3",
"@graphql-codegen/typescript-react-query": "^4.0.1", "@graphql-codegen/typescript-react-query": "^4.0.1",
"@types/node": "17.0.35", "@types/node": "22.10.6",
"@types/react": "18.0.9", "@types/react": "18.0.9",
"@types/react-dom": "18.0.5", "@types/react-dom": "18.0.5",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"postcss": "^8.4.14", "postcss": "^8.4.14",
"tailwindcss": "^3.1.2", "tailwindcss": "^3.1.2",
"typescript": "4.7.2" "typescript": "5.7.3"
} }
} }

91
pnpm-lock.yaml generated
View File

@ -8,7 +8,7 @@ specifiers:
'@graphql-codegen/typescript-operations': ^2.5.3 '@graphql-codegen/typescript-operations': ^2.5.3
'@graphql-codegen/typescript-react-apollo': ^3.3.3 '@graphql-codegen/typescript-react-apollo': ^3.3.3
'@graphql-codegen/typescript-react-query': ^4.0.1 '@graphql-codegen/typescript-react-query': ^4.0.1
'@types/node': 17.0.35 '@types/node': 22.10.6
'@types/react': 18.0.9 '@types/react': 18.0.9
'@types/react-dom': 18.0.5 '@types/react-dom': 18.0.5
autoprefixer: ^10.4.7 autoprefixer: ^10.4.7
@ -19,7 +19,7 @@ specifiers:
react: 18.1.0 react: 18.1.0
react-dom: 18.1.0 react-dom: 18.1.0
tailwindcss: ^3.1.2 tailwindcss: ^3.1.2
typescript: 4.7.2 typescript: 5.7.3
dependencies: dependencies:
'@apollo/client': 3.6.9_iyinu66pbuug557ijcvjj4zbyu '@apollo/client': 3.6.9_iyinu66pbuug557ijcvjj4zbyu
@ -30,19 +30,19 @@ dependencies:
react-dom: 18.1.0_react@18.1.0 react-dom: 18.1.0_react@18.1.0
devDependencies: devDependencies:
'@graphql-codegen/cli': 2.11.6_qny2anfu3y3vdlqg4oa5euu3aq '@graphql-codegen/cli': 2.11.6_25fa7wku2d6lo2ykll2q4y2nnq
'@graphql-codegen/typed-document-node': 2.3.3_graphql@16.10.0 '@graphql-codegen/typed-document-node': 2.3.3_graphql@16.10.0
'@graphql-codegen/typescript': 2.7.3_graphql@16.10.0 '@graphql-codegen/typescript': 2.7.3_graphql@16.10.0
'@graphql-codegen/typescript-operations': 2.5.3_graphql@16.10.0 '@graphql-codegen/typescript-operations': 2.5.3_graphql@16.10.0
'@graphql-codegen/typescript-react-apollo': 3.3.3_nlmc7cp55x2ftl4i6svk4s2oua '@graphql-codegen/typescript-react-apollo': 3.3.3_nlmc7cp55x2ftl4i6svk4s2oua
'@graphql-codegen/typescript-react-query': 4.0.1_graphql@16.10.0 '@graphql-codegen/typescript-react-query': 4.0.1_graphql@16.10.0
'@types/node': 17.0.35 '@types/node': 22.10.6
'@types/react': 18.0.9 '@types/react': 18.0.9
'@types/react-dom': 18.0.5 '@types/react-dom': 18.0.5
autoprefixer: 10.4.8_postcss@8.5.1 autoprefixer: 10.4.8_postcss@8.5.1
postcss: 8.5.1 postcss: 8.5.1
tailwindcss: 3.4.17 tailwindcss: 3.4.17
typescript: 4.7.2 typescript: 5.7.3
packages: packages:
@ -697,7 +697,7 @@ packages:
dev: false dev: false
optional: true optional: true
/@graphql-codegen/cli/2.11.6_qny2anfu3y3vdlqg4oa5euu3aq: /@graphql-codegen/cli/2.11.6_25fa7wku2d6lo2ykll2q4y2nnq:
resolution: {integrity: sha512-0R2Bhgjt3XZTSdsn8MGGuJjDEN2z+KCo7920zLZz9boy6bQ0EyuxS9AUATePS9aC3djy2POAIPCHz8iHK68IlQ==} resolution: {integrity: sha512-0R2Bhgjt3XZTSdsn8MGGuJjDEN2z+KCo7920zLZz9boy6bQ0EyuxS9AUATePS9aC3djy2POAIPCHz8iHK68IlQ==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -712,8 +712,8 @@ packages:
'@graphql-tools/graphql-file-loader': 7.5.2_graphql@16.10.0 '@graphql-tools/graphql-file-loader': 7.5.2_graphql@16.10.0
'@graphql-tools/json-file-loader': 7.4.3_graphql@16.10.0 '@graphql-tools/json-file-loader': 7.4.3_graphql@16.10.0
'@graphql-tools/load': 7.7.4_graphql@16.10.0 '@graphql-tools/load': 7.7.4_graphql@16.10.0
'@graphql-tools/prisma-loader': 7.2.14_2kkaheszz2wlsioq7kvr7kpimm '@graphql-tools/prisma-loader': 7.2.14_tbhordj2ncrdmvus7i7r7amkmm
'@graphql-tools/url-loader': 7.13.9_2kkaheszz2wlsioq7kvr7kpimm '@graphql-tools/url-loader': 7.13.9_tbhordj2ncrdmvus7i7r7amkmm
'@graphql-tools/utils': 8.10.0_graphql@16.10.0 '@graphql-tools/utils': 8.10.0_graphql@16.10.0
'@whatwg-node/fetch': 0.2.9 '@whatwg-node/fetch': 0.2.9
ansi-escapes: 4.3.2 ansi-escapes: 4.3.2
@ -723,7 +723,7 @@ packages:
debounce: 1.2.1 debounce: 1.2.1
detect-indent: 6.1.0 detect-indent: 6.1.0
graphql: 16.10.0 graphql: 16.10.0
graphql-config: 4.3.3_qny2anfu3y3vdlqg4oa5euu3aq graphql-config: 4.3.3_25fa7wku2d6lo2ykll2q4y2nnq
inquirer: 8.2.4 inquirer: 8.2.4
is-glob: 4.0.3 is-glob: 4.0.3
json-to-pretty-yaml: 1.2.2 json-to-pretty-yaml: 1.2.2
@ -1056,12 +1056,12 @@ packages:
tslib: 2.4.0 tslib: 2.4.0
dev: true dev: true
/@graphql-tools/prisma-loader/7.2.14_2kkaheszz2wlsioq7kvr7kpimm: /@graphql-tools/prisma-loader/7.2.14_tbhordj2ncrdmvus7i7r7amkmm:
resolution: {integrity: sha512-9yX3/1UyjuPhp1i375gp2arzKPfz6VzG4ItGsaiEDRF/CCGu80gexf9letQkGtyTiQaZhqIFz5hy5HF48JZXvQ==} resolution: {integrity: sha512-9yX3/1UyjuPhp1i375gp2arzKPfz6VzG4ItGsaiEDRF/CCGu80gexf9letQkGtyTiQaZhqIFz5hy5HF48JZXvQ==}
peerDependencies: peerDependencies:
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
dependencies: dependencies:
'@graphql-tools/url-loader': 7.13.9_2kkaheszz2wlsioq7kvr7kpimm '@graphql-tools/url-loader': 7.13.9_tbhordj2ncrdmvus7i7r7amkmm
'@graphql-tools/utils': 8.10.0_graphql@16.10.0 '@graphql-tools/utils': 8.10.0_graphql@16.10.0
'@types/js-yaml': 4.0.5 '@types/js-yaml': 4.0.5
'@types/json-stable-stringify': 1.0.34 '@types/json-stable-stringify': 1.0.34
@ -1115,7 +1115,7 @@ packages:
value-or-promise: 1.0.11 value-or-promise: 1.0.11
dev: true dev: true
/@graphql-tools/url-loader/7.13.9_2kkaheszz2wlsioq7kvr7kpimm: /@graphql-tools/url-loader/7.13.9_tbhordj2ncrdmvus7i7r7amkmm:
resolution: {integrity: sha512-7vN7hpT/U0/jC1cc2kNqm0H3iQqRis2f4ZbMsiWT8lDGo/GFOAq+LhJJjTO3zx/ivG90usuu6nPy0yrGlLMvGg==} resolution: {integrity: sha512-7vN7hpT/U0/jC1cc2kNqm0H3iQqRis2f4ZbMsiWT8lDGo/GFOAq+LhJJjTO3zx/ivG90usuu6nPy0yrGlLMvGg==}
peerDependencies: peerDependencies:
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
@ -1132,7 +1132,7 @@ packages:
graphql: 16.10.0 graphql: 16.10.0
graphql-ws: 5.10.1_graphql@16.10.0 graphql-ws: 5.10.1_graphql@16.10.0
isomorphic-ws: 5.0.0_ws@8.8.1 isomorphic-ws: 5.0.0_ws@8.8.1
meros: 1.2.0_@types+node@17.0.35 meros: 1.2.0_@types+node@22.10.6
tslib: 2.4.0 tslib: 2.4.0
value-or-promise: 1.0.11 value-or-promise: 1.0.11
ws: 8.8.1 ws: 8.8.1
@ -1594,11 +1594,13 @@ packages:
/@types/jsonwebtoken/8.5.8: /@types/jsonwebtoken/8.5.8:
resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==}
dependencies: dependencies:
'@types/node': 17.0.35 '@types/node': 22.10.6
dev: true dev: true
/@types/node/17.0.35: /@types/node/22.10.6:
resolution: {integrity: sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==} resolution: {integrity: sha512-qNiuwC4ZDAUNcY47xgaSuS92cjf8JbSUoaKS77bmLG1rU7MlATVSiw/IlrjtIyyskXBZ8KkNfjK/P5na7rgXbQ==}
dependencies:
undici-types: 6.20.0
dev: true dev: true
/@types/parse-json/4.0.0: /@types/parse-json/4.0.0:
@ -1630,7 +1632,7 @@ packages:
/@types/ws/8.5.3: /@types/ws/8.5.3:
resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==}
dependencies: dependencies:
'@types/node': 17.0.35 '@types/node': 22.10.6
dev: true dev: true
/@whatwg-node/fetch/0.2.9: /@whatwg-node/fetch/0.2.9:
@ -1745,6 +1747,14 @@ packages:
resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
dev: true dev: true
/anymatch/3.1.2:
resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==}
engines: {node: '>= 8'}
dependencies:
normalize-path: 3.0.0
picomatch: 2.3.1
dev: true
/anymatch/3.1.3: /anymatch/3.1.3:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'} engines: {node: '>= 8'}
@ -1894,6 +1904,13 @@ packages:
balanced-match: 1.0.2 balanced-match: 1.0.2
dev: true dev: true
/braces/3.0.2:
resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
engines: {node: '>=8'}
dependencies:
fill-range: 7.1.1
dev: true
/braces/3.0.3: /braces/3.0.3:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
engines: {node: '>=8'} engines: {node: '>=8'}
@ -2037,8 +2054,8 @@ packages:
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
engines: {node: '>= 8.10.0'} engines: {node: '>= 8.10.0'}
dependencies: dependencies:
anymatch: 3.1.3 anymatch: 3.1.2
braces: 3.0.3 braces: 3.0.2
glob-parent: 5.1.2 glob-parent: 5.1.2
is-binary-path: 2.1.0 is-binary-path: 2.1.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -2199,7 +2216,7 @@ packages:
'@iarna/toml': 2.2.5 '@iarna/toml': 2.2.5
dev: true dev: true
/cosmiconfig-typescript-loader/3.1.1_n3jxuywfglzgxo675obabdfiku: /cosmiconfig-typescript-loader/3.1.1_65njvl3pjrdlfm5pgs4ok5lhbq:
resolution: {integrity: sha512-SR5/NciF0vyYqcGsmB9WJ4QOKkcSSSzcBPLrnT6094BYahMy0eImWvlH3zoEOYqpF2zgiyAKHtWTXTo+fqgxPg==} resolution: {integrity: sha512-SR5/NciF0vyYqcGsmB9WJ4QOKkcSSSzcBPLrnT6094BYahMy0eImWvlH3zoEOYqpF2zgiyAKHtWTXTo+fqgxPg==}
engines: {node: '>=12', npm: '>=6'} engines: {node: '>=12', npm: '>=6'}
peerDependencies: peerDependencies:
@ -2208,10 +2225,10 @@ packages:
ts-node: '>=10' ts-node: '>=10'
typescript: '>=3' typescript: '>=3'
dependencies: dependencies:
'@types/node': 17.0.35 '@types/node': 22.10.6
cosmiconfig: 7.0.1 cosmiconfig: 7.0.1
ts-node: 10.9.1_smgpfffxrhk5i4ijhe3532b4hq ts-node: 10.9.1_khi447ka34utnt44qysedel5ce
typescript: 4.7.2 typescript: 5.7.3
dev: true dev: true
/cosmiconfig/7.0.1: /cosmiconfig/7.0.1:
@ -2604,7 +2621,7 @@ packages:
slash: 3.0.0 slash: 3.0.0
dev: true dev: true
/graphql-config/4.3.3_qny2anfu3y3vdlqg4oa5euu3aq: /graphql-config/4.3.3_25fa7wku2d6lo2ykll2q4y2nnq:
resolution: {integrity: sha512-ju2LAbOk6GLp+8JY7mh3CrEe0iEj2AdImNKv58G0DyISBo72kDEJYNJ07hKmkHdIzhDsSHiVzaCVIyBU2LCUug==} resolution: {integrity: sha512-ju2LAbOk6GLp+8JY7mh3CrEe0iEj2AdImNKv58G0DyISBo72kDEJYNJ07hKmkHdIzhDsSHiVzaCVIyBU2LCUug==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
peerDependencies: peerDependencies:
@ -2614,15 +2631,15 @@ packages:
'@graphql-tools/json-file-loader': 7.4.3_graphql@16.10.0 '@graphql-tools/json-file-loader': 7.4.3_graphql@16.10.0
'@graphql-tools/load': 7.7.4_graphql@16.10.0 '@graphql-tools/load': 7.7.4_graphql@16.10.0
'@graphql-tools/merge': 8.3.3_graphql@16.10.0 '@graphql-tools/merge': 8.3.3_graphql@16.10.0
'@graphql-tools/url-loader': 7.13.9_2kkaheszz2wlsioq7kvr7kpimm '@graphql-tools/url-loader': 7.13.9_tbhordj2ncrdmvus7i7r7amkmm
'@graphql-tools/utils': 8.10.0_graphql@16.10.0 '@graphql-tools/utils': 8.10.0_graphql@16.10.0
cosmiconfig: 7.0.1 cosmiconfig: 7.0.1
cosmiconfig-toml-loader: 1.0.0 cosmiconfig-toml-loader: 1.0.0
cosmiconfig-typescript-loader: 3.1.1_n3jxuywfglzgxo675obabdfiku cosmiconfig-typescript-loader: 3.1.1_65njvl3pjrdlfm5pgs4ok5lhbq
graphql: 16.10.0 graphql: 16.10.0
minimatch: 4.2.1 minimatch: 4.2.1
string-env-interpolation: 1.0.1 string-env-interpolation: 1.0.1
ts-node: 10.9.1_smgpfffxrhk5i4ijhe3532b4hq ts-node: 10.9.1_khi447ka34utnt44qysedel5ce
transitivePeerDependencies: transitivePeerDependencies:
- '@swc/core' - '@swc/core'
- '@swc/wasm' - '@swc/wasm'
@ -3138,7 +3155,7 @@ packages:
engines: {node: '>= 8'} engines: {node: '>= 8'}
dev: true dev: true
/meros/1.2.0_@types+node@17.0.35: /meros/1.2.0_@types+node@22.10.6:
resolution: {integrity: sha512-3QRZIS707pZQnijHdhbttXRWwrHhZJ/gzolneoxKVz9N/xmsvY/7Ls8lpnI9gxbgxjcHsAVEW3mgwiZCo6kkJQ==} resolution: {integrity: sha512-3QRZIS707pZQnijHdhbttXRWwrHhZJ/gzolneoxKVz9N/xmsvY/7Ls8lpnI9gxbgxjcHsAVEW3mgwiZCo6kkJQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
peerDependencies: peerDependencies:
@ -3147,7 +3164,7 @@ packages:
'@types/node': '@types/node':
optional: true optional: true
dependencies: dependencies:
'@types/node': 17.0.35 '@types/node': 22.10.6
dev: true dev: true
/micromatch/4.0.8: /micromatch/4.0.8:
@ -4136,7 +4153,7 @@ packages:
resolution: {integrity: sha512-DEQrfv6l7IvN2jlzc/VTdZJYsWUnQNCsueYjMkC/iXoEoi5fNan6MjeDqkvhfzbmHgdz9UxDUluX3V5HdjTydQ==} resolution: {integrity: sha512-DEQrfv6l7IvN2jlzc/VTdZJYsWUnQNCsueYjMkC/iXoEoi5fNan6MjeDqkvhfzbmHgdz9UxDUluX3V5HdjTydQ==}
dev: true dev: true
/ts-node/10.9.1_smgpfffxrhk5i4ijhe3532b4hq: /ts-node/10.9.1_khi447ka34utnt44qysedel5ce:
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -4155,14 +4172,14 @@ packages:
'@tsconfig/node12': 1.0.11 '@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3 '@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.3 '@tsconfig/node16': 1.0.3
'@types/node': 17.0.35 '@types/node': 22.10.6
acorn: 8.8.0 acorn: 8.8.0
acorn-walk: 8.2.0 acorn-walk: 8.2.0
arg: 4.1.3 arg: 4.1.3
create-require: 1.1.1 create-require: 1.1.1
diff: 4.0.2 diff: 4.0.2
make-error: 1.3.6 make-error: 1.3.6
typescript: 4.7.2 typescript: 5.7.3
v8-compile-cache-lib: 3.0.1 v8-compile-cache-lib: 3.0.1
yn: 3.1.1 yn: 3.1.1
dev: true dev: true
@ -4179,9 +4196,9 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
dev: true dev: true
/typescript/4.7.2: /typescript/5.7.3:
resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==} resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
engines: {node: '>=4.2.0'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
dev: true dev: true
@ -4194,6 +4211,10 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
dev: true dev: true
/undici-types/6.20.0:
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
dev: true
/undici/5.9.1: /undici/5.9.1:
resolution: {integrity: sha512-6fB3a+SNnWEm4CJbgo0/CWR8RGcOCQP68SF4X0mxtYTq2VNN8T88NYrWVBAeSX+zb7bny2dx2iYhP3XHi00omg==} resolution: {integrity: sha512-6fB3a+SNnWEm4CJbgo0/CWR8RGcOCQP68SF4X0mxtYTq2VNN8T88NYrWVBAeSX+zb7bny2dx2iYhP3XHi00omg==}
engines: {node: '>=12.18'} engines: {node: '>=12.18'}

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed # Install dependencies only when needed
FROM node:16-alpine AS deps FROM node:22-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat
RUN yarn global add pnpm RUN yarn global add pnpm
@ -11,7 +11,7 @@ RUN pnpm i
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM node:16-alpine AS builder FROM node:22-alpine AS builder
WORKDIR /app WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
@ -27,7 +27,7 @@ RUN yarn build
# RUN npm run build # RUN npm run build
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM node:16-alpine AS runner FROM node:22-alpine AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV production ENV NODE_ENV production