Skip to content

Commit

Permalink
Merge pull request #3 from selfagency/dev
Browse files Browse the repository at this point in the history
switch to docker
  • Loading branch information
selfagency authored Mar 16, 2022
2 parents f887809 + c0b150a commit 3ad0b4d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:16-alpine
WORKDIR /home/node/app
RUN cp package.json .
RUN cp yarn.lock .
RUN cp action.js .
ENV NODE_ENV production
RUN yarn install --prefer-offline --frozen-lockfile --production --unsafe-perm --ignore-optional
CMD ["node", "action.js"]
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ inputs:
description: 'Unfurl links'
required: false
runs:
using: 'node16'
main: 'action.js'
using: 'docker'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feedbot",
"version": "1.0.8",
"version": "1.0.9",
"main": "action.js",
"author": "Daniel Sieradski <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 3ad0b4d

Please sign in to comment.