Skip to content

Commit

Permalink
dockerize compile action
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdabbs committed Dec 6, 2023
1 parent 104dd9e commit 7ffb265
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/compile/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM oven/bun:1 as base
WORKDIR /usr/src/app

COPY src src

ENTRYPOINT ["bun", "run", "src/main.ts"]
4 changes: 2 additions & 2 deletions packages/compile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ inputs:
out:
description: Path to write the bundle to
runs:
using: "node12"
main: "dist/main.js"
using: docker
image: Dockerfile

0 comments on commit 7ffb265

Please sign in to comment.