diff --git a/backend/Dockerfile b/backend/Dockerfile index 703abf5..e307936 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine AS build +FROM node:24-alpine AS build RUN apk add --no-cache openssl WORKDIR /app COPY package.json ./ @@ -9,7 +9,7 @@ COPY src ./src COPY tsconfig.json ./ RUN npm run build -FROM node:20-alpine +FROM node:24-alpine RUN apk add --no-cache openssl WORKDIR /app ENV NODE_ENV=production diff --git a/data-pipeline/Dockerfile b/data-pipeline/Dockerfile index b3b2175..d7f4acb 100644 --- a/data-pipeline/Dockerfile +++ b/data-pipeline/Dockerfile @@ -1,7 +1,7 @@ # Base Debian (não Alpine): precisamos do pacote "assimp-utils" (binário # `assimp`) para converter os FBX reais do Z-Anatomy para glTF/GLB — no # Alpine essa dependência é bem mais dolorosa de resolver. -FROM node:20-bookworm +FROM node:24-bookworm RUN apt-get update \ && apt-get install -y --no-install-recommends assimp-utils ca-certificates \ && rm -rf /var/lib/apt/lists/* diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 34e2200..956b668 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,6 +1,6 @@ # Build context is the repository root (see docker-compose.yml) so this # stage can reach both frontend/ and nginx/. -FROM node:20-alpine AS build +FROM node:24-alpine AS build WORKDIR /app COPY frontend/package.json ./ RUN npm install