diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c26b38e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:11 + +WORKDIR /app + +EXPOSE 8080 +COPY . . +RUN yarn install + +CMD ["yarn", "start"] diff --git a/README.md b/README.md index 2e0bee7..675e929 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,22 @@ General config file: `RDFExplorer/public/scripts/services/settings.js` To change the query execution behavior check: `RDFExplorer/public/scripts/services/property-graph.js` +## Docker + +### Build + +```bash +docker build -t rdfexplorer . +``` + +### Run + +```bash +docker run --rm -it -p 8081:8080 rdfexplorer +``` + +> Access on http://localhost:8081/ + ## License Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.