forked from intrahealth/client-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
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
b1021ce
commit eebb96c
Showing
4 changed files
with
26 additions
and
4 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
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,2 @@ | ||
# modified configs | ||
config_development.json |
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:dubnium | ||
|
||
# install dependencies | ||
ADD package-lock.json /src/ | ||
ADD package.json /src/ | ||
WORKDIR /src/ | ||
RUN npm install | ||
|
||
# add app | ||
ADD . /src/ | ||
|
||
CMD ["node", "lib/app.js"] |
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,8 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# automate tagging with the short commit hash | ||
docker build --no-cache -t intrahealth/opencr-ux:$(git rev-parse --short HEAD) . | ||
docker tag intrahealth/opencr-ux:$(git rev-parse --short HEAD) intrahealth/opencr-ux | ||
docker push intrahealth/opencr-ux:$(git rev-parse --short HEAD) | ||
docker push intrahealth/opencr-ux:latest |