diff --git a/Dockerfile b/Dockerfile index d0f3a937..2afb5453 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM node:21-bullseye-slim AS builder-base WORKDIR /home/node/app # Install dependencies first so rebuild of these layers is only needed when dependencies change +COPY lib/ ./lib/ COPY package.json yarn.lock . COPY .env.prod .env RUN yarn cache clean -f && yarn install diff --git a/tests.Dockerfile b/tests.Dockerfile index 9acaf557..9a080dc6 100644 --- a/tests.Dockerfile +++ b/tests.Dockerfile @@ -3,6 +3,7 @@ FROM node:21-bullseye-slim AS builder-base WORKDIR /home/node/app # Install dependencies first so rebuild of these layers is only needed when dependencies change +COPY lib/ ./lib/ COPY package.json yarn.lock . COPY .env.template .env RUN yarn cache clean -f && yarn install