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.

  • Unable to run build for gitlab-ci using docker on windows server
  • Docker pulling windows image - failed to register layer: re-exec error: exit status 1
  • Jenkins build inside a docker container with generated reports
  • Why env variables are not created automatically?
  • How can I run multiple docker nodes on my laptop to simulate a cluster?
  • Quick Go project build with Docker without checking in vendor libraries
  • Do Docker images save the memory state?
  • How to run sonatype nexus on aws ec2?
  • docker extra_host parameter expects a dictionary value for hostname, how can I use a variable?
  • Docker images built successfully but not running
  • rabbitmq settings do not persist while running dockerfile
  • Use custom Visual Studio run configuration with Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.