minecraft-pi-docker/Dockerfile

20 lines
379 B
Docker
Raw Normal View History

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