Skip to content

Commit

Permalink
Merge pull request #4 from selfagency/dev
Browse files Browse the repository at this point in the history
Docker stuff
  • Loading branch information
selfagency authored Mar 16, 2022
2 parents 3ad0b4d + fb8bed0 commit bcd5c1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:16-alpine
WORKDIR /home/node/app
RUN cp package.json .
RUN cp yarn.lock .
RUN cp action.js .
COPY package.json .
COPY yarn.lock .
COPY action.js .
ENV NODE_ENV production
RUN yarn install --prefer-offline --frozen-lockfile --production --unsafe-perm --ignore-optional
CMD ["node", "action.js"]
ENTRYPOINT ["node", "action.js"]
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.9",
"version": "1.0.10",
"main": "action.js",
"author": "Daniel Sieradski <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit bcd5c1a

Please sign in to comment.