calpoly-csai / swanton

Swanton Pacific Ranch chatbot with a knowledge graph
MIT License
3 stars 1 forks source link

Run the webapp on docker-compose for GCP/AWS #29

Open snekiam opened 3 years ago

snekiam commented 3 years ago

Add a docker-compose service for hosting the web chatbot alongside the rasa server.

snekiam commented 3 years ago

Along with https://github.com/calpoly-csai/swanton/pull/33, this is pretty trivial, as we can just run npm run build in the chatbot, then copy the contents of the build directory to /var/www/html/ on the gcp instance. This isn't very automatic; we should change that at some point.