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
|
WORKDIR /app
|
||||||
RUN npm install -g typescript
|
RUN npm install -g typescript
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
@ -6,7 +6,7 @@ RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:23-alpine AS server
|
FROM node:23.5.0-alpine AS server
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package* ./
|
COPY package* ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
|
Loading…
Reference in New Issue