Improve corebill and graylisting. (#154)

This commit is contained in:
Savinda Senevirathne
2020-11-19 08:40:15 +05:30
committed by GitHub
parent f475dcb1fb
commit 9160b2ee15
10 changed files with 129 additions and 75 deletions

View File

@@ -0,0 +1,15 @@
FROM node:12.18.3-buster-slim
WORKDIR /text_client
COPY package*.json ./
RUN npm install
COPY text-client.js ./
COPY hp-client-lib.js ./
ENTRYPOINT ["node", "text-client.js"]
# Comment this for localhost connection.
# Client connects to node1 of the cluster.
CMD ["node1", "8081"]