node 24
This commit is contained in:
1 parent
76ac1df116
commit
0dd3b6f7a1
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
@@ -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/*
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user