diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7cda2d9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM node:16-bullseye-slim + +COPY dist /dist + +ENTRYPOINT ["node", "/dist/index.js"] diff --git a/action.yml b/action.yml index 42cbe00..a6d9dc5 100644 --- a/action.yml +++ b/action.yml @@ -49,5 +49,5 @@ outputs: description: 'the test outcome, either `success` or `failure`' runs: - using: 'node16' - main: 'dist/index.js' + using: 'docker' + image: 'Dockerfile'