minecraft-pi-docker/Dockerfile

20 lines
379 B
Docker
Raw Permalink Normal View History

2021-09-12 03:18:12 +00:00
FROM debian:bullseye-slim
2021-06-21 17:26:55 +00:00
# Install
RUN \
apt-get update && \
2022-07-15 23:54:58 +00:00
apt-get install -y tini qemu-user && \
2021-06-21 17:26:55 +00:00
apt-get --fix-broken install -y && \
rm -rf /var/lib/apt/lists/*
2022-06-11 01:59:57 +00:00
# Copy
ADD ./out/server-amd64 /app
2022-03-09 23:47:31 +00:00
2021-06-21 17:26:55 +00:00
# Setup Working Directory
RUN mkdir /data
WORKDIR /data
# Setup Entrypoint
ENTRYPOINT ["/usr/bin/tini", "--"]
2022-06-11 01:59:57 +00:00
CMD ["/app/usr/bin/minecraft-pi-reborn-server"]