- Clone the project from the repository inside the C:/Users/* folder (Only if you're using Windows)
- Download Docker from Docker getting started Windows guide
Execute Docker Quickstart Terminal - cd into your project root folder and put the following command:
$ docker-compose up
This command will download the image specified in the Dockerfile of the project. Maybe can take a few minutes to download all the dependencies, once finished the project will be deployed inside the container and you can access from your host browser:
Project url
By default, the port 3000 is configured to be exposed, it can be changed in the dockerfile.
###Issues
Some Windows version can present problems with the docker-compose.yml specification address, to solve this issue run the docker-compose up command with the following prefix:
$ COMPOSE_CONVERT_WINDOWS_PATHS=1 docker-compose up
If you need to do changes in the Dockerfile or docker-compose.yml, run the following command to update the container:
$ docker-compose build
Voilà! Now you have an application running inside a docker container and listening to any changes you make inside the code.