Files
PluginDownloader/Dockerfile
Zephrynis 042368fa11 Initial commit: add Minecraft plugin updater
Add Dockerfile, main Python script, example config, requirements, and README for a Dockerized Minecraft plugin updater. The updater supports GitHub, Modrinth, and Spigot plugins, automatically checks for updates, downloads new versions, and manages plugin files and state.
2025-12-28 16:47:11 +00:00

15 lines
298 B
Docker

FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
# Create volume mount points
# /data should contain config.yaml and will be where plugins are downloaded (in /data/plugins)
VOLUME /data
CMD ["python", "-u", "main.py"]