Actualizar Dockerfile

This commit is contained in:
2026-03-05 22:39:16 +00:00
parent d070586418
commit 0bbebea010

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:20-bookworm
WORKDIR /app
@@ -6,7 +6,10 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
# Copiar el código fuente (server.js)
# 🔴 ESTA ES LA MAGIA: Instalar Chromium y TODAS las dependencias de Linux que necesita
RUN npx playwright install chromium --with-deps
# Copiar el código fuente
COPY . .
# Exponer puerto