Skip to content

rjesh-git/botfx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Microsoft Bot Framework - Bot Builder Docker file

Docker image for building bots with BotBuilder V4 SDK

Pulls from Docker Hub Docker Cloud Build Status

Usage

1. Create new bot in container

# 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.

2. Run BotBuilder sample in container

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/

About

Docker image for the Microsoft bot framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published