File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ FROM node:22-alpine AS builder
22
33WORKDIR /app
44
5- COPY package.json ./
6- RUN npm install
5+ COPY package.json yarn.lock ./
6+ RUN yarn install --frozen-lockfile
77
88COPY tsconfig.json ./
99COPY src ./src
1010
11- RUN npm run build
11+ RUN yarn build
1212
1313FROM node:22-alpine
1414
@@ -17,8 +17,8 @@ WORKDIR /app
1717RUN addgroup -g 1001 -S nodejs && \
1818 adduser -S nodejs -u 1001
1919
20- COPY package.json ./
21- RUN npm install --omit=dev && npm cache clean --force
20+ COPY package.json yarn.lock ./
21+ RUN yarn install --frozen-lockfile --production && yarn cache clean
2222
2323COPY --from=builder /app/dist ./dist
2424
Original file line number Diff line number Diff line change 1111 "lint:fix" : " biome check --write src/"
1212 },
1313 "dependencies" : {
14- "@hono/node-server" : " ^1.13.7 " ,
15- "hono" : " ^4.6.14 " ,
16- "jsonwebtoken" : " ^9.0.2 " ,
17- "lru-cache" : " ^11.0.2 " ,
18- "nanoid" : " ^5.0.9 " ,
19- "pino" : " ^9.5 .0" ,
20- "ws" : " ^8.18 .0" ,
21- "zod" : " ^3.24.1 "
14+ "@hono/node-server" : " ^1.19.9 " ,
15+ "hono" : " ^4.11.7 " ,
16+ "jsonwebtoken" : " ^9.0.3 " ,
17+ "lru-cache" : " ^11.2.5 " ,
18+ "nanoid" : " ^5.1.6 " ,
19+ "pino" : " ^10.3 .0" ,
20+ "ws" : " ^8.19 .0" ,
21+ "zod" : " ^4.3.6 "
2222 },
2323 "devDependencies" : {
24- "@biomejs/biome" : " 2.3.8 " ,
25- "@types/jsonwebtoken" : " ^9.0.7 " ,
24+ "@biomejs/biome" : " 2.3.13 " ,
25+ "@types/jsonwebtoken" : " ^9.0.10 " ,
2626 "@types/node" : " ^22.10.2" ,
27- "@types/ws" : " ^8.5.13 " ,
28- "tsx" : " ^4.19.2 " ,
29- "typescript" : " ^5.7.2 "
27+ "@types/ws" : " ^8.18.1 " ,
28+ "tsx" : " ^4.21.0 " ,
29+ "typescript" : " ^5.9.3 "
3030 }
3131}
You can’t perform that action at this time.
0 commit comments