File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM node:lts-alpine3.19
2+ RUN npm install -g pnpm
23WORKDIR /app
34RUN apk add --no-cache bash
45RUN apk add --no-cache socat
5- COPY package.json package.json
6- RUN npm install
6+ COPY package.json pnpm-lock.yaml* ./
7+ RUN pnpm install --frozen-lockfile
78COPY . .
8- RUN npm run build
9+ RUN pnpm run build
910EXPOSE 8080 8081
1011HEALTHCHECK --interval=10s --timeout=1s --retries=10 CMD wget --spider http://localhost:8081/v1/healthcheck
11- CMD ["npm " , "start" ]
12+ CMD ["pnpm " , "start" ]
Original file line number Diff line number Diff line change 33 "type" : " module" ,
44 "version" : " 1.0.0" ,
55 "scripts" : {
6- "build" : " tsc"
6+ "build" : " tsc" ,
7+ "start" : " node server.js"
78 },
89 "author" : " SkipLabs" ,
910 "license" : " MIT" ,
1011 "description" : " " ,
1112 "dependencies" : {
13+ "@skip-adapter/postgres" : " 0.0.16" ,
1214 "@skipruntime/core" : " 0.0.16" ,
13- "@skipruntime/wasm" : " 0.0.16" ,
14- "@skipruntime/server" : " 0.0.16" ,
1515 "@skipruntime/helpers" : " 0.0.16" ,
16- "@skip-adapter/postgres" : " 0.0.16"
16+ "@skipruntime/server" : " 0.0.16" ,
17+ "@skipruntime/wasm" : " 0.0.16" ,
18+ "typescript" : " ^5.8.3"
1719 },
1820 "devDependencies" : {
19- "@types/node" : " ^22.10.0" ,
2021 "@skiplabs/eslint-config" : " ^0.0.1" ,
21- "@skiplabs/tsconfig" : " ^0.0.1"
22+ "@skiplabs/tsconfig" : " ^0.0.1" ,
23+ "@types/node" : " ^22.10.0"
2224 }
2325}
You can’t perform that action at this time.
0 commit comments