From dbbd8e7f3a48d7b40bf3ef61290ccaa54f264f5e Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 24 Jan 2024 18:49:43 -0300 Subject: [PATCH] dockerfile: cachear deps --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index bd074d5..47b1819 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,10 @@ WORKDIR /usr/src/app FROM base as build RUN apk add --no-cache nodejs npm RUN npm install --global pnpm +COPY db-datos/package.json db-datos/package.json +COPY sitio/package.json sitio/package.json +COPY pnpm-lock.yaml pnpm-workspace.yaml . +RUN cd sitio && pnpm install COPY . . COPY db-datos/drizzle . RUN cd sitio && \