I am trying to containerize a very simple Flask API that connects to mongodb. For the API’s output, I am using the pandas module. However, when I run ‘docker-compose up’, I get the following error: app_1 | Traceback (most recent call last): app_1 | File “app.py”, line 6, in app_1 | import pandas as pd app_1 | ModuleNotFoundError: No module
Tag: containers
How to dockerize a vuejs (frontend) app together with a (backend) flask api inside the same container?
I can successfully create and run backend flask api and the frontend vue app inside individual containers with the following codes: But when I try combining them inside a single container, only the vue app is running on localhost:8080 but it cannot access the flask api output which I thought would be running locally inside the container on port 5000
azure – list containers in python
I’m trying to list the containers under an azure account using the python sdk – why do I get the following? Surely the above is a call to the function and not a reference to the function itself. Answer you get the following according to source code it return ListGenerator(resp, self._list_containers, (), kwargs) you can access what you want as