Sign inSign up

rjesh/botfx

By rjesh

Updated over 6 years ago

bot framework

Image
1

2.2K

rjesh/botfx repository overview

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/

Tag summary

Content type

Image

Digest

Size

357.2 MB

Last updated

over 6 years ago

docker pull rjesh/botfx