Docker image for building bots with BotBuilder V4 SDK
# Create project folder to be mounted from host as volume
mkdir [project]
cd [project]
docker run -it --rm --name ${PWD##*/} -v $PWD:/usr/app/botfx -p 3978:3978 rjesh/botfx
# Use Yeoman scaffolding generator which is pre-installed in the image
yo botbuilder
Follow the instructions given in quick build guide build the bot.
Download/clone - https://github.com/microsoft/BotBuilder-Samples
# Only JavaScript_nodejs and TypeScript_nodejs projects
cd [sample_folder]
docker run -it --rm --name ${PWD##*/} -v $PWD:/usr/app/botfx -p 3978:3978 rjesh/botfx
npm i
npm start
Use Bot Framework Emulator and connect to the bot - http://localhost:3978/api/messages
More details in this blog post - https://rjesh.com/bot-framework-in-docker/