neomatrix369 / chatbot-conversations

Chatbot conversations: a demo application how two (or more) chatbots can talk to each other, the logic used to build Eliza (along with an NLP model) has been used to power the chatbots.
Apache License 2.0
35 stars 12 forks source link

Do not clone repo via Dockerfile, use files from parent folder #15

Closed neomatrix369 closed 2 years ago

neomatrix369 commented 2 years ago

At the moment the Dockerfile script clones the git repo https://github.com/neomatrix369/chatbot-conversations/ and then performs the necessary build steps.

When running this on a local instance, this may be problematic as it won't be picking up the changes from the local filesystem and expect the changes to be present in the repo to reflect in the built image.

Restructure the Dockerfile such the image is built using the files in the local environment rather than cloning the repo.

We could temporarily copy the files from the parent directory into the local folder near the Dockerfile and this could be packed into the docker image.