Skip to content

Commit

Permalink
Copy lib/ in test and deployment Dockerfiles too
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Nov 25, 2024
1 parent 162fc75 commit b0fdf2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0fdf2c

Please sign in to comment.