Skip to content

Commit

Permalink
fix(dockerfile): dependencies fix for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
thesophiaxu committed Apr 4, 2022
1 parent 487a11e commit f4a15c3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ COPY ./packages/unigraph-dev-backend/package.json /app/packages/unigraph-dev-bac
COPY ./packages/unigraph-dev-common/package.json /app/packages/unigraph-dev-common/package.json
COPY ./packages/unigraph-dev-electron/package.json /app/packages/unigraph-dev-electron/package.json
COPY ./packages/unigraph-dev-explorer/package.json /app/packages/unigraph-dev-explorer/package.json
RUN cd /app && yarn
RUN cd /app && yarn --network-timeout 600000
COPY . /app
RUN cd /app && yarn
RUN cd /app && yarn --network-timeout 600000
RUN cd /app && yarn build-deps

# Run Unigraph
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ License:

We provide an experimental Dockerfile for easy setup:

- Building Unigraph: `docker build -t unigraph-devserver.` (this should take roughly 10 minutes max),
- Building Unigraph: `docker build -t unigraph-devserver .` (this should take roughly 10 minutes max),
- Running Unigraph: `docker run -d -p 4002:4002 -v <data directory>:/opt/unigraph -p 4001:4001 -p 3000:3000 -P unigraph-devserver`,

To update the Docker image, run `docker build` again after `git pull`.
Expand Down
9 changes: 0 additions & 9 deletions packages/unigraph-dev-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
"@date-io/moment": "1.x",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@material-ui/core": "^4.11.0",
"@material-ui/data-grid": "^4.0.0-alpha.25",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.57",
"@material-ui/pickers": "^3.3.10",
"@mdi/js": "^6.4.95",
"@mdi/react": "^1.5.0",
"@monaco-editor/react": "^4.1.3",
Expand Down Expand Up @@ -47,7 +42,6 @@
"jquery": "^3.5.1",
"lodash": "^4.17.20",
"mdast-util-wiki-link": "^0.0.2",
"micromark-extension-wiki-link": "^0.0.4",
"mini-css-extract-plugin": "0.11.3",
"mixpanel-browser": "^2.42.0",
"moment": "^2.29.1",
Expand All @@ -73,7 +67,6 @@
"react-markdown": "^6.0.2",
"react-refresh": "^0.8.3",
"react-resize-detector": "^6.7.6",
"react-router-dom": "^5.2.0",
"react-splitter-layout": "^4.0.0",
"react-swipeable": "^6.1.2",
"react-transition-group": "^4.4.2",
Expand All @@ -97,7 +90,6 @@
"typescript": "^4.2.2",
"unigraph-dev-common": "^0.2.7",
"url-loader": "4.1.1",
"uuid": "^8.3.2",
"webpack": "4.44.2",
"webpack-dev-server": "3.11.1",
"webpack-manifest-plugin": "2.2.0",
Expand All @@ -114,7 +106,6 @@
"@types/react": "^17.0.1",
"@types/react-big-calendar": "^0.36.2",
"@types/react-dom": "^17.0.1",
"@types/react-router-dom": "^5.1.6",
"@types/turndown": "^5.0.1",
"@types/uuid": "^8.3.0",
"@welldone-software/why-did-you-render": "^6.2.3",
Expand Down
1 change: 0 additions & 1 deletion packages/unigraph-dev-explorer/src/react-app-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ declare module '*.pkg' {
}

declare module 'remark-wiki-link';
declare module 'micromark-extension-wiki-link';

0 comments on commit f4a15c3

Please sign in to comment.