From da283c5b5752a99c0182f40bad456efb530d11f9 Mon Sep 17 00:00:00 2001 From: KulkarniShashank Date: Fri, 1 Sep 2023 17:09:04 +0530 Subject: [PATCH] fix: Added the command for the patch aries-framework/annoncreds Signed-off-by: KulkarniShashank --- Dockerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a3b01b6..2f3b4115 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,16 +27,18 @@ RUN apt-get update -y && apt-get install -y --allow-unauthenticated \ # Install yarn seperately due to `no-install-recommends` to skip nodejs install RUN apt-get install -y --no-install-recommends yarn - + +RUN yarn global add patch-package # AFJ specifc setup WORKDIR /www -COPY /apps/agent-provisioning/AFJ/afj-controller/bin ./bin -COPY /apps/agent-provisioning/AFJ/afj-controller/package.json package.json +COPY bin ./bin +COPY patches ./patches +COPY package.json package.json RUN yarn install --production -COPY /apps/agent-provisioning/AFJ/afj-controller/build ./build -COPY /apps/agent-provisioning/AFJ/afj-controller/libindystrgpostgres.so /usr/lib/ -COPY /apps/agent-provisioning/AFJ/afj-controller/libindystrgpostgres.so /usr/local/lib/ +COPY build ./build +COPY libindystrgpostgres.so /usr/lib/ +COPY libindystrgpostgres.so /usr/local/lib/ ENTRYPOINT [ "./bin/afj-rest.js", "start" ]