minecraft-pi-reborn/Dockerfile
2022-06-10 22:02:43 -04:00

20 lines
392 B
Docker

FROM debian:bullseye-slim
# Install
RUN \
apt-get update && \
apt-get install -y tini sed patchelf qemu-user && \
apt-get --fix-broken install -y && \
rm -rf /var/lib/apt/lists/*
# Copy
ADD ./out/server-amd64 /app
# Setup Working Directory
RUN mkdir /data
WORKDIR /data
# Setup Entrypoint
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/app/usr/bin/minecraft-pi-reborn-server"]