Spaces:
Running

mc / Dockerfile
losprimos's picture
Forgejo CI
forgejo ci
deploy: 0a12298
0bf2d99
Raw History Blame
628 Bytes
FROM eclipse-temurin:21-jdk
USER root
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 tini wget ca-certificates openssl zstd && \
rm -rf /var/lib/apt/lists/*
RUN wget -qO /usr/local/bin/playit \
https://github.com/playit-cloud/playit-agent/releases/download/v1.0.10/playit-linux-amd64 && \
chmod +x /usr/local/bin/playit
RUN mkdir -p /opt/mc/server /data
COPY entrypoint sync assemble /opt/mc/
RUN chmod +x /opt/mc/entrypoint /opt/mc/sync /opt/mc/assemble
ENV SERVER_DIR=/opt/mc/server \
BUCKET_DIR=/data
EXPOSE 7860 7681/udp
ENTRYPOINT ["tini", "--", "/opt/mc/entrypoint"]