This image contains basic webcrawler application developed in Node.js and Python Flask.
227
Dockerfile link herehttps://github.com/santhoshmuniswami/webcrawler/blob/master/Dockerfile
There are two ports exposed in container 9000 - is to load client application and 5000 - is where the python flask service is running.
To run, use this example.
docker run -d -p 9000:9000 -p 5000:5000 santhoshmuniswami/webcrawlerapp
|_ This will run container and start the server script which is python flask api service. You can access the service through rest client.
To start client application, use following command,
docker exec -it -d <containerID> npm start
Once the application started, go to browser and use your ip/localhost with port 9000 which loads application.
Thanks :)
Content type
Image
Digest
Size
413.3 MB
Last updated
over 7 years ago
docker pull santhoshmuniswami/webcrawlerapp