Skip to content

Commit cb035e1

Browse files
committed
chore(CRC-184): Do not build package. Use bundled dist
1 parent 39a4a6d commit cb035e1

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.dockerignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
*
22
!package.json
33
!pnpm-lock.yaml
4-
!src/
5-
!tsconfig.base.json
6-
!tsconfig.json
4+
!bin/
5+
!dist/

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ COPY package.json pnpm-lock.yaml ./
55
RUN pnpm install --frozen-lockfile --no-optional
66
COPY . .
77

8-
FROM installer AS builder
9-
RUN pnpm build
10-
118
FROM node:22-alpine
129
WORKDIR /usr/src/app
13-
COPY --from=builder /usr/src/app ./
10+
COPY --from=installer /usr/src/app ./
1411
ENTRYPOINT [ "node", "/usr/src/app/bin/markdown-confluence-sync-action.js"]

0 commit comments

Comments
 (0)