estiben-614 / chatTiempoReal-Docker-NodeJs-Socket_Io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS container Docker

Second version, is not finished yet but now it works better :D

Upgrade: Now show users online 

image

Running on Windows (Temporal solution)

  • First build the container:
docker build -t node_project_container .
  • Then, run it:
docker run -it -p 3000:3000 --volume ${PWD}/app:/app --name=node_project_container --rm node_project_container

Running on Linux/Mac

There are two scripts created for building and running the container.

  • First build the container:
./scripts/build

Once the container is builded, it not require any new build for code changes.

  • Then, run it:
./scripts/run

Reference:

About


Languages

Language:HTML 43.4%Language:JavaScript 38.5%Language:CSS 7.0%Language:Shell 7.0%Language:Dockerfile 4.1%