version: '3.8' # or '2.4' # add services: # add videopi: build: context: . dockerfile: Dockerfile ports: - "8080:8080" command: "sh -c 'pip install -r requirements.txt && python app.py'" volumes: - .:/app - ../medias:/medias