ffmpeg image and flask app in two different containers in Docker compose. How do I use ffmpeg in flask app?

Here is my docker compose yml file:

    image: jrottenberg/ffmpeg:ubuntu
    tty: true
  build: ./flask_app
  #image: conorquinn01/composeapp
  command: python ./flask_app/app.py
   - "5000:5000"
   - .:/muse_compose2

Not sure how to do this. Thanks.

  • De-allocating memory after python tensorflow workbook execution
  • Access docker remote API from container
  • docker container using the same volume even after running new container image
  • How to get the name of a Docker container using JavaScript?
  • install Docker CE 17.03 on RHEL7
  • Is it ok to run docker from inside docker?
  • Can not connect nodes to docker swarm master (using zookeeper)
  • How to convert a Docker run command into a Swarm command?
  • Docker Compose - Not picking up the dump file in the init command?
  • How can I remove all containers by image name and do nothing if it already removed
  • AWS Beanstalk and Docker ports = what manner of tomfoolery is this?
  • How will a Docker application with ubuntu as base image work on Windows?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.