Skip to content

Commit 9dbde43

Browse files
Merge pull request #425 from OpenSignLabs/prafull-opensignlabs-patch-8
2 parents 44b87f1 + 2a24d71 commit 9dbde43

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

apps/OpenSign/Dockerhubfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN npm install
1212

1313
# Copy the current directory contents into the container
1414
COPY apps/OpenSign/ .
15+
COPY microfrontends/ .
1516
COPY apps/OpenSign/.husky .
1617

1718
# Make port 3000 available to the world outside this container

apps/OpenSign/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
"version": "curl -s https://api.github.com/repos/opensignlabs/opensign/releases/latest | grep '\"tag_name\":' | awk -F '\"' '{print $4}' > ./public/version.txt",
4242
"build": "npm run version && rm -rf public/mfbuild && npm run micro && CI=false && mf-cra build",
4343
"micro": "cd ../../microfrontends/SignDocuments && npm install && npm run build",
44+
"docker-build": "npm run version && rm -rf public/mfbuild && npm run docker-micro && CI=false && mf-cra build",
45+
"docker-micro": "cd ./microfrontends/SignDocuments && npm install && npm run build",
4446
"test": "react-scripts test",
4547
"eject": "react-scripts eject",
4648
"release": "standard-version",

0 commit comments

Comments
 (0)