Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Abhinav Dhasmana
committed
Aug 23, 2019
1 parent
053f6d8
commit 00ddc2f
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM node:10.16.0-alpine | ||
|
||
WORKDIR /source/github-action-example-node | ||
|
||
COPY package.json /source/github-action-example-node | ||
|
||
RUN cd /source/github-action-example-node && npm i --only=production | ||
|
||
COPY . . | ||
|
||
EXPOSE 3000 | ||
CMD ["sh", "-c", "node server.js"] |