-
Notifications
You must be signed in to change notification settings - Fork 5
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
1e0de49
commit 9e1c2d4
Showing
11 changed files
with
7,379 additions
and
17,859 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 +1,19 @@ | ||
**/*.env | ||
**/*.env | ||
.git | ||
.github | ||
.husky | ||
coverage | ||
logs | ||
node_modules | ||
.dockerignore | ||
.editorconfig | ||
.eslintrc.cjs | ||
.gitignore | ||
.lintstagedrc.json | ||
.prettierignore | ||
.prettierrc.js | ||
compose-test.yaml | ||
Dockerfile | ||
README | ||
server-dev-only.cert | ||
server-dev-only.key |
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 @@ | ||
# signing-service Changelog | ||
|
||
## 0.3.0 - 2024-04-22 | ||
### Changed | ||
- add healthz endpoint for use with docker HEALTHCHECK | ||
- update README | ||
- update .dockerignore | ||
- update Dockerfile with multistage production build | ||
- removed unused status package | ||
- update issuer-core import to instead use issuer-instance from npm | ||
- added CHANGELOG | ||
|
||
For previous history, see Git commits. |
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,16 @@ | ||
FROM node:18-alpine | ||
FROM node:18 as builder | ||
ADD . /app | ||
ENV NODE_ENV=production | ||
WORKDIR /app | ||
COPY . . | ||
RUN npm install | ||
CMD ["node", "server.js"] | ||
EXPOSE 4006 | ||
RUN npm install | ||
|
||
FROM gcr.io/distroless/nodejs18-debian11 | ||
COPY --from=builder /app/node_modules /app/node_modules | ||
COPY --from=builder /app/server.js /app/server.js | ||
COPY --from=builder /app/src /app/src | ||
COPY --from=builder /app/package.json /app/package.json | ||
|
||
CMD ["app/server.js"] | ||
|
||
EXPOSE 4006 | ||
|
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,6 @@ | ||
FROM node:20 | ||
WORKDIR /app | ||
COPY . . | ||
RUN npm install | ||
CMD ["node", "server.js"] | ||
EXPOSE 4006 |
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.