Question

Pygame MIDI Playback from Dockerfile Deployment

Currently, I am trying to figure out how to play audio within a Digital Ocean Dockerfile container. The full writeup is here: https://stackoverflow.com/questions/75035203/pygame-midi-playback-in-paas-from-dockerfile

It is a Python Flask App; currently stuck at this error: pygame.error: ALSA: Couldn’t open audio device: No such file or directory

I’m not sure if this is something I could specify within my Dockerfile, or perhaps a runtime resource / console command I would have to execute after the app is deployed. Thanks!


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer