minecraft-pi-reborn/Dockerfile
2022-06-10 21:59:57 -04:00

21 lines
407 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
RUN mkdir /app
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"]