dockerfile: use LTS not node24
This commit is contained in:
parent
f2c43eb3bd
commit
8ee9c37d87
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Use a Node.js Alpine image for the builder stage
|
||||
FROM node:24-alpine AS builder
|
||||
FROM node:lts-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
|
|
@ -13,7 +13,7 @@ RUN pnpm build
|
|||
RUN pnpm prune --prod
|
||||
|
||||
# Use another Node.js Alpine image for the final stage
|
||||
FROM node:24-alpine
|
||||
FROM node:lts-alpine
|
||||
WORKDIR /app
|
||||
COPY ./scripts/entrypoint.sh entrypoint.sh
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue