ensured webapp builds
This commit is contained in:
1 parent
2e01704d88
commit
6f8ffabfdc
3 files changed
+10
-6
No files matched your search
@@ -0,0 +1,4 @@
|
||||
webapp/node_modules
|
||||
webapp/build
|
||||
webapp/.storybook
|
||||
webapp/.vscode
|
||||
+1
-2
@@ -22,9 +22,8 @@ RUN pip install . /data
|
||||
# <--- Webapp Build -->
|
||||
COPY webapp/ /data/web-builder
|
||||
RUN cd /data/web-builder && \
|
||||
npm i -g yarn react-scripts \
|
||||
npm install && \
|
||||
yarn build && \
|
||||
npm run build && \
|
||||
cp -r /data/web-builder/build /data/web && \
|
||||
rm -rf /data/web-builder
|
||||
|
||||
|
||||
+5
-4
@@ -4,9 +4,6 @@
|
||||
"private": true,
|
||||
"homepage": "/web",
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^5.11.4",
|
||||
"@testing-library/react": "^11.1.0",
|
||||
"@testing-library/user-event": "^12.1.10",
|
||||
"@types/jest": "^26.0.15",
|
||||
"@types/node": "^12.0.0",
|
||||
"@types/react": "^17.0.0",
|
||||
@@ -20,7 +17,8 @@
|
||||
"react-scripts": "4.0.3",
|
||||
"theming": "^3.3.0",
|
||||
"typescript": "^4.1.2",
|
||||
"web-vitals": "^1.0.1"
|
||||
"web-vitals": "^1.0.1",
|
||||
"yarn": "^1.22.17"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
@@ -59,6 +57,9 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^5.11.4",
|
||||
"@testing-library/react": "^11.1.0",
|
||||
"@testing-library/user-event": "^12.1.10",
|
||||
"@storybook/addon-actions": "^6.3.12",
|
||||
"@storybook/addon-essentials": "^6.3.12",
|
||||
"@storybook/addon-links": "^6.3.12",
|
||||
|
||||
Reference in new issue
Block a user