Skip to content

Commit

Permalink
apply patch in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Jan 15, 2024
1 parent 3052a69 commit 238e6c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ WORKDIR /app
FROM base AS prod-deps
COPY dependencies /app/dependencies
COPY tsconfig.json /app/tsconfig.json
COPY patches patches

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod

FROM base AS build
COPY dependencies /app/dependencies
COPY tsconfig.json /app/tsconfig.json
COPY patches patches

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install
COPY src src
RUN pnpm run build
Expand Down
2 changes: 2 additions & 0 deletions agent/src/issuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ export const credentialRequestToCredentialMapper: CredentialRequestToCredentialM
]
: ["https://www.w3.org/2018/credentials/v1"],
// TODO: should 'VerifiableCredential' be in the issuer metadata type?
// FIXME: jwt verification did not fail when this was array within array
// W3cCredential is not validated in AFJ???
type: ["VerifiableCredential", ...credentialSupported.types],
issuanceDate: new Date().toISOString(),
issuer: issuerDid,
Expand Down

0 comments on commit 238e6c6

Please sign in to comment.