From eb13bdff822ffaea48c9aae0ef6e2b0be83c4293 Mon Sep 17 00:00:00 2001 From: "Jessica F. Martinez" Date: Wed, 11 Dec 2024 17:24:25 +0100 Subject: [PATCH] UPDATE config --- Dockerfile.production | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.production b/Dockerfile.production index b693a92..ac0e9a2 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -61,6 +61,10 @@ RUN npm run build #FROM node:20 FROM nginx:alpine + +# Instalar Node.js en la imagen de Nginx +RUN apk add --no-cache nodejs npm + COPY --from=build /app/.output/public /usr/share/nginx/html/_nuxt # Copiar las configuraciones de Nuxt para el servidor