Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Posse committed Aug 28, 2023
1 parent 9850c4a commit 5f4f152
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

FROM oven/bun as builder

ADD package.json bun.lockb src tsconfig.json index.ts ./
RUN bun install
RUN bun build ./index.ts --compile --outfile gitlab-sso-scim

FROM scratch

COPY --from=builder gitlab-sso-scim /gitlab-sso-scim
ENTRYPOINT [ "/gitlab-sso-scim" ]

0 comments on commit 5f4f152

Please sign in to comment.