lappis-unb / BotFlow

BotFlow - visual content manager for simple Rasa chatbots
GNU General Public License v3.0
30 stars 12 forks source link

Backend docker failing #169

Open leticiaarj opened 3 years ago

leticiaarj commented 3 years ago

The django framework does not work correctly on Ubuntu and Windows operating systems.

AmandaMuniz commented 3 years ago

While implementing test cases in the backend, it was possible to notice that Django wasn't built correctly in the different operating systems. While working on Linux, it didn't build up on windows.

Not only that, but an import error was shown when trying to run the tests. Screenshot_20210323_160227

It is possible to see that in the Dockerfile, some parts of python were downloaded when the Docker documentation does not recommend this practice. Screenshot_20210323_160507

Because of this situation, it was necessary to apply changes in the Dockerfile to reduce the steps to build the application's Docker. These changes can be seen in the pull request present in the backend repository.