Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagur1203 committed Oct 16, 2024
1 parent 2b84670 commit b57f65e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ WORKDIR /app
RUN corepack enable

COPY . .
RUN yarn global add lerna
RUN lerna bootstrap
RUN lerna run build
RUN pnpm build

CMD [ "lerna", "run", "start", "--scope=server" ]
CMD [ "pnpm", "--filter=server", "start" ]
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "sunrinsecurity-backend",
"scripts": {
"lint": "pnpm run -r lint",
"test": "pnpm run -r test"
"test": "pnpm run -r test",
"build": "pnpm run -r build"
},
"packageManager": "[email protected]+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
}

0 comments on commit b57f65e

Please sign in to comment.