mirror of
https://github.com/zephrynis/PluginDownloader.git
synced 2026-02-18 20:11:54 +00:00
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.
15 lines
298 B
Docker
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"]
|