我正在我的docker-compose.yml中這樣做:app: image: golang:1.14.3 ports: - "8080:8080" ## Share API port with host machine. depends_on: - broker - ffmpeg volumes: - .:/go/src/go-intelligent-monitoring-system - /home/:/home/ working_dir: /go/src/go-intelligent-monitoring-system command: apt-get install ffmpeg ########-------<<<<<<---------################# command: go run main.go 但是當我在我的代碼上使用它時,我有這個錯誤:-->“”exec:“ffmpeg”:在$PATH中找不到可執行文件“”
- 1 回答
- 0 關注
- 90 瀏覽
添加回答
舉報
0/150
提交
取消