Simple implementation of an open contest due to occupy a job title in Sweden.
npm start
The default port in development environment has been set to 8000 along with the localhost as host with ip address 127.0.0.1. To manipulate ports and hosts you should have checked out the config subdirectory.
It prepares an image to be run on docker container. To create/build this contributer image run the following command
docker build -t <YOU_REPOSITORY>/callcenter-lts-alpine:1.0.0 .
The above command ends with .
indecating the presence of Dockerfile
in the current working directory unless you have to specify Dockerfile in the fully qualified named fashion. Also, it's optional to create this image because it's already pushed in dockerhub and following cammand can easily pull it in your container.
docker pull kaloneh/callcenter-lts-apline:1.0.0
To contain the image on Docker container you can run these commands
docker run -it -d --name callcenter -p 8000:8000 -e NODE_ENV=dev kaloneh/callcenter-lts-alpine:1.0.0
docker run -it callcenter sh
The first command serves the express and socket-io on port 8000; the second command allows you to access container terminal and take you jouney.