Pin Node.js
This commit is contained in:
parent
0b8a12ab6b
commit
47eecd15ea
|
@ -1,4 +1,4 @@
|
|||
FROM node:23-alpine AS builder
|
||||
FROM node:23.5.0-alpine AS builder
|
||||
WORKDIR /app
|
||||
RUN npm install -g typescript
|
||||
COPY package*.json ./
|
||||
|
@ -6,7 +6,7 @@ RUN npm install
|
|||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:23-alpine AS server
|
||||
FROM node:23.5.0-alpine AS server
|
||||
WORKDIR /app
|
||||
COPY package* ./
|
||||
RUN npm install --production
|
||||
|
|
Loading…
Reference in New Issue