-
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.
update to use latest beta of credential-status-manager-db
- Loading branch information
1 parent
12a3679
commit 30acc6f
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,4 +108,7 @@ dist | |
.tern-port | ||
|
||
# vscode | ||
.vscode | ||
.vscode | ||
|
||
compose.yaml | ||
compose-local-mongo.yaml |
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,6 +1,23 @@ | ||
FROM node:18-alpine | ||
# Stage 1 - Gather dependencies | ||
#FROM node:19 AS deps | ||
#COPY . . | ||
#RUN npm ci | ||
|
||
# Stage 2 - Runner | ||
#FROM node:20-alpine as runner | ||
FROM node:20 | ||
# RUN git config --global url."https://github.com/".insteadOf '[email protected]:' | ||
# RUN git config --global url."https://github.com/".insteadOf [email protected]: | ||
# RUN git config --global url."https://".insteadOf git:// | ||
#RUN git config --global url."https://github.com/".insteadOf ssh://[email protected] | ||
# RUN git config --global url."https://github.com".insteadOf "ssh://[email protected]" | ||
# NOTE to self: I got this to work (i.e., fixed the problem with the docker build | ||
# not being able to pull the status dependency - | ||
# digitalcredentials/credential-status-manager-db#initial-implementation | ||
# from git ) by instead pulling in the dependency locally so it gets copied | ||
# directly into the docker build as part of copying in all of the local node_modules. | ||
# I also therefore had to remove node_moduels from the dockerignore | ||
WORKDIR /app | ||
COPY . . | ||
RUN npm install | ||
CMD ["node", "server.js"] | ||
EXPOSE 4008 |
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