diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..3c3629e
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1 @@
+node_modules
diff --git a/README.md b/README.md
index e2edf09..e9c2bde 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,12 @@ If you're a developer and want to contribute to, or want to utilize this marketp
## Get Started
-To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to Ocean's Nile test network remotely.
+To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to [Ocean's Nile test network](https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet) remotely.
+
+This repo contains a client and a server, both written in TypeScript:
+
+- **client**: React app setup with [squid-js](https://github.com/oceanprotocol/squid-js), bootstrapped with [Create React App](https://github.com/facebook/create-react-app)
+- **server**: Node.js app, utilizing [Express](https://expressjs.com). The server provides various microservices, like remote file checking.
To spin up both, the client and the server in a watch mode for local development, execute:
@@ -58,7 +63,7 @@ Modify `./client/src/config.ts` to use those local connections.
## Production
-To create a production build of both, the client and the server:
+To create a production build of both, the client and the server, run from the root of the project:
```bash
npm run build
@@ -72,12 +77,11 @@ Builds the client for production to the `./client/build` folder, and the server
npm test
```
-Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
+Launches the test runner in the interactive watch mode.
## Code Style
-For linting and auto-formatting you can use:
+For linting and auto-formatting you can use from the root of the project:
```bash
# auto format all ts & css with eslint & stylelint
diff --git a/client/.dockerignore b/client/.dockerignore
new file mode 100644
index 0000000..3c3629e
--- /dev/null
+++ b/client/.dockerignore
@@ -0,0 +1 @@
+node_modules
diff --git a/client/Dockerfile b/client/Dockerfile
new file mode 100644
index 0000000..41774e5
--- /dev/null
+++ b/client/Dockerfile
@@ -0,0 +1,47 @@
+FROM node:11-alpine
+LABEL maintainer="Ocean Protocol "
+
+RUN apk add --no-cache --update\
+ bash\
+ g++\
+ gcc\
+ git\
+ gettext\
+ make\
+ python
+
+COPY . /app/frontend
+WORKDIR /app/frontend
+
+RUN npm install -g npm serve
+RUN npm install
+
+# Default ENV values
+# src/config/config.ts
+ENV SERVICE_SCHEME='http'
+ENV SERVICE_HOST='localhost'
+ENV SERVICE_PORT='4000'
+ENV NODE_SCHEME='http'
+ENV NODE_HOST='localhost'
+ENV NODE_PORT='8545'
+ENV AQUARIUS_SCHEME='http'
+ENV AQUARIUS_HOST='localhost'
+ENV AQUARIUS_PORT='5000'
+ENV BRIZO_SCHEME='http'
+ENV BRIZO_HOST='localhost'
+ENV BRIZO_PORT='8030'
+ENV BRIZO_ADDRESS='0x00bd138abd70e2f00903268f3db08f2d25677c9e'
+ENV PARITY_SCHEME='http'
+ENV PARITY_HOST='localhost'
+ENV PARITY_PORT='8545'
+ENV SECRET_STORE_SCHEME='http'
+ENV SECRET_STORE_HOST='localhost'
+ENV SECRET_STORE_PORT='12001'
+ENV FAUCET_SCHEME='http'
+ENV FAUCET_HOST='localhost'
+ENV FAUCET_PORT='3001'
+
+ENV LISTEN_ADDRESS='0.0.0.0'
+ENV LISTEN_PORT='3000'
+
+ENTRYPOINT ["/app/frontend/scripts/docker-entrypoint.sh"]
diff --git a/client/package.json b/client/package.json
index 2f830f0..a3b11c0 100644
--- a/client/package.json
+++ b/client/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@oceanprotocol/art": "^2.2.0",
- "@oceanprotocol/squid": "^0.5.0",
+ "@oceanprotocol/squid": "^0.5.1",
"@oceanprotocol/typographies": "^0.1.0",
"classnames": "^2.2.6",
"filesize": "^4.1.2",
diff --git a/client/public/index.html b/client/public/index.html
index 19d80a4..7299790 100644
--- a/client/public/index.html
+++ b/client/public/index.html
@@ -10,7 +10,40 @@
- Commons Marketplace
+ Commons
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+