This is a docker image for PaperMC.
Use paper-docker as a base image, creating an image specific to your server, with any applicable configuration files
in the same folder as your Dockerfile:
FROM mctague/paper:latest
# Server config files (server.properties, spigot.yml, bukkit.yml etc.)
COPY . /server
# If you agree to the Minecraft EULA:
RUN echo "eula=true" > /server/eula.txt
When you run the image, you will need to specify a volume mounted to /server/data. This volume will contain server
state (worlds, hopefully more if Spigot decides to separate configuration from state.), but not any configuration - it is up to you to create configuration files to be
copied by your custom image, mount them to volumes, or let them be generated every time by Paper.
Mounting a volume to /server/cache will also help reduce startup times.
Mounting to /server/logs will store server logs.
You must expose port 25565 from the container.
docker pull mctague/paper:latest