Mover node_modules sin volver a descargar
This commit is contained in:
@@ -6,8 +6,8 @@ FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./package.json ./package-lock.json ./
|
||||
COPY ./node_modules ./
|
||||
|
||||
COPY tsconfig.json ./
|
||||
COPY ./deployment/develop/start.sh ./
|
||||
|
||||
# Copiar el archivo de migrations? porque ahora no creo que se esté lanzando nada
|
||||
|
||||
@@ -65,6 +65,11 @@ pipeline {
|
||||
remoteDirectory: "$APP_REMOTE_PATH",
|
||||
sourceFiles: "package.json",
|
||||
),
|
||||
sshTransfer(
|
||||
cleanRemote: false,
|
||||
remoteDirectory: "$APP_REMOTE_PATH",
|
||||
sourceFiles: "node_modules/**/*",
|
||||
),
|
||||
sshTransfer(
|
||||
cleanRemote: false,
|
||||
remoteDirectory: "$APP_REMOTE_PATH",
|
||||
|
||||
Reference in New Issue
Block a user