▲ 8 ▼ FastAPI keeps generating local index.html* (lemmy.world) submitted 2 years ago* (last edited 2 years ago) by mapto@lemmy.world to c/python@programming.dev 8 comments fedilink hide all child comments I deploy a FastAPI service with docker (see my docker-compose.yml and app). My service directory gets filled with files index.html, index.html.1, index.html.2,... that all contain They seem to be generated any time the docker healthcheck pings the service. How can I get rid of these? PS: I had to put a screenshot, because Lemmy stripped my HTML in the code quote.
[–] taaz@biglemmowski.win 1 point 2 years ago* (1 child) usually I would use just curl for hc permalink fedilink source parent hideshow 2 child comments replies: [–] mapto@lemmy.world [S] 1 point 2 years ago To me it depends on the base image. Some don't have curl, but have wget. I would go with the flow instead of installing it myself. Especially if I can get away with not having to add more layers for an image of my own and/or using the same command for all containers permalink fedilink source parent
[–] mapto@lemmy.world [S] 1 point 2 years ago To me it depends on the base image. Some don't have curl, but have wget. I would go with the flow instead of installing it myself. Especially if I can get away with not having to add more layers for an image of my own and/or using the same command for all containers permalink fedilink source parent