-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
7a738eb
commit cb8be39
Showing
13 changed files
with
1,131 additions
and
688 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,13 @@ | ||
FROM node:v16.13.0 | ||
RUN apt-get update && apt-get install tini | ||
RUN npm install pm2 -g | ||
|
||
ENV APP_HOME="/usr/src/app" | ||
|
||
WORKDIR ${APP_HOME} | ||
|
||
COPY . ${APP_HOME}/ | ||
|
||
ENTRYPOINT ["tini", "--"] | ||
|
||
CMD ["pm2-runtime", "pm2.json"] |
Oops, something went wrong.