rossimo / retrobot

MIT License
281 stars 16 forks source link

Add Dockerfile #5

Closed zikes closed 1 year ago

zikes commented 1 year ago

Mounting a volume at /retrobot/data will allow for game persistence in case of restarts.

2GB of RAM is recommended, but I was able to get GBA Pokemon FireRed to run somewhat reliably on 1GB. I haven't seen how it performs with multiple games yet, if that makes much difference.

It's best not to store secrets in a Docker container, so I added .env to the .dockerignore. It's recommended the DISCORD_TOKEN environment variable be provided to the container at runtime instead.

rossimo commented 1 year ago

The memory requirements will likely go up with the number of different systems emulated. The worker parallelization has already kicked in for input assist for GBA games, meaning several GBA cores have executed, and are awaiting input. If you, say, fired up an NES game, the existing workers would fully initialize the NES cores as well.