Compare commits
2
Commits
782c3e79b0
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc2d995873 | ||
|
|
e65f90ee80 |
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
node-version: '24'
|
||||
|
||||
- name: Server — install & typecheck
|
||||
working-directory: server
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
# Imagen única: construye el front (Vite) y lo sirve desde el servidor (Fastify + Socket.IO).
|
||||
|
||||
# ---- build del front ----
|
||||
FROM node:22-alpine AS web
|
||||
FROM node:24-alpine AS web
|
||||
WORKDIR /web
|
||||
COPY web/package.json web/package-lock.json* ./
|
||||
RUN npm install
|
||||
@@ -10,7 +10,7 @@ COPY web/ ./
|
||||
RUN npm run build # -> /web/dist
|
||||
|
||||
# ---- producción ----
|
||||
FROM node:22-alpine AS production
|
||||
FROM node:24-alpine AS production
|
||||
WORKDIR /app
|
||||
# deps del servidor (incluye tsx y drizzle-kit; NODE_ENV se fija DESPUÉS para no
|
||||
# saltarse las devDependencies durante la instalación)
|
||||
|
||||
Reference in New Issue
Block a user