FROM registry.gitlab.com/minetest/minetest/server:5.4.0

COPY ./entrypoint.sh /entrypoint.sh
COPY ./stages/ /stages/

USER root
RUN apk add zip

ENTRYPOINT /entrypoint.sh