# CV Api

## Build

Build your docker container :

    docker build -t cv2-api .

Run it (name can be changed):

    # On Linux
    docker run -v "$(pwd)":/var/www/html -p 3001:80 --name cv2-api cv2-api

    # On Windows
    docker run -d -v "%cd%:/var/www/html" -p 3001:80 --name cv2-api cv2-api

Execute it and install dependencies :

    docker exec -it cv2-api bash

The project will be accessible locally at : http://localhost:3000/


#### Run on a built container

If you've already built your container, start it and run with :

    docker start cv2-api
    docker exec -it cv2-api bash