Skip to content

Commit

Permalink
Merge pull request #2013 from bugsnag/tms/build-issue
Browse files Browse the repository at this point in the history
Run Lerna bootstrap after copying packages into Docker containers
  • Loading branch information
twometresteve authored Sep 19, 2023
2 parents bd72a11 + 89ae775 commit c6927dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.browser
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN npm install
COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
RUN npx lerna bootstrap
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run build

RUN npm pack --verbose packages/js/
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN npm install --unsafe-perm
COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
RUN npx lerna bootstrap
COPY scripts ./scripts
COPY test ./test
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run build
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.node
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN npm install
COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
RUN npx lerna bootstrap
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run build

RUN npm pack --verbose packages/node/
Expand Down

0 comments on commit c6927dc

Please sign in to comment.