Skip to content
Advertisement

Tag: docker-compose

Docker run error – Failed to find Flask application or factory in module “app”. Use “FLASK_APP=app:name to specify one

trying to dockerize this flask app… running the following docker build –tag flask-website . works, output successfully built, successfully tagged. edit: the next command works ok, so then I run curl localhost:5000 which gives this error ok straight forward enough, so then I try this docker-compose up and this results however trying to navigate to localhost:5000 I get directory structure

Why use requirements.txt in a Docker image

There is a similar question from last year but I don’t think the responses are widely applicable and it’s not accepted. Edit: this is in the context of developing small jobs that will only be run in docker in-house; I’m not talking about sharing work with anyone outside a small team, or about projects getting heavy re-use. What advantage do

Advertisement