-
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.
Merge branch 'dev' into 649_script_single_endpoint
- Loading branch information
Showing
7 changed files
with
252 additions
and
206 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 |
---|---|---|
@@ -1,23 +1,18 @@ | ||
FROM node:14-alpine | ||
ENV NODE_ENV production | ||
|
||
WORKDIR /home/node/app | ||
COPY --chown=node:node . . | ||
RUN npm install -g typescript | ||
|
||
WORKDIR /home/node/app/backend | ||
RUN npm install | ||
RUN npm link typescript | ||
|
||
WORKDIR /home/node/app/frontend | ||
RUN npm install | ||
RUN npm link typescript | ||
|
||
WORKDIR /home/node/app | ||
|
||
# RUN npm install pm2 -g | ||
|
||
EXPOSE 5050 | ||
EXPOSE 5051 | ||
|
||
CMD ./dockerRunnerProd.sh | ||
HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD (wget --no-verbose --tries=1 --spider http://localhost:5051/doctorOrders/api/getRx/pending && wget --no-verbose --tries=1 --spider http://localhost:5050) || exit 1 | ||
|
||
CMD ./dockerRunnerProd.sh |
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
Oops, something went wrong.