newo-2001 / MC-Modpack-Downloader

Script to download Minecraft modpacks without the need for the FTB app or Overwolf
MIT License
22 stars 4 forks source link

Add docker setup #18

Closed suchmememanyskill closed 2 months ago

suchmememanyskill commented 2 months ago

Hi! Untitled

Bit of a crude implementation, but made a Dockerfile and acompanying script to run this software in a docker container (so i don't have to install nodejs)

Instructions for usage:

  1. Build or fetch the docker image (i tagged it as mc-dl)
  2. Create a folder called 'mods'
  3. Run the following command: docker run -it -e curseforge_api_key=api_key_here -v ./mods:/app/mods mc-dl

Hopefully this will be of some use to you - Sims

newo-2001 commented 2 months ago

Thanks for the addition, looks great!

I will test, document and merge tomorrow.

In the near future I also intend to add support for reading configuration from environment variables, which would make the startup script a bit nicer.