change docker version for freight

This commit is contained in:
SennayT
2026-05-29 14:55:15 +03:00
parent ef54be5125
commit 46400310b3

View File

@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# Build from monorepo root: docker build -f apps/edr-freight-api/Dockerfile .
FROM node:22-alpine AS base
FROM node:24.15.0-alpine AS base
RUN apk add --no-cache libc6-compat
RUN corepack enable
WORKDIR /app
@@ -25,7 +25,7 @@ FROM base AS deployer
COPY --from=builder /app/ .
RUN pnpm deploy --filter="@edr/freight-api" --prod --legacy /deploy
FROM node:22-alpine AS runner
FROM node:24.15.0-alpine AS runner
RUN apk add --no-cache libc6-compat
ENV NODE_ENV=production
WORKDIR /app