mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 20:17:54 +00:00
16 lines
537 B
Docker
16 lines
537 B
Docker
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get -y upgrade
|
|
RUN apt-get install -y wget unzip curl tmux
|
|
|
|
USER ubuntu
|
|
WORKDIR /home/ubuntu
|
|
|
|
# from https://www.minecraft.net/en-us/download/server/bedrock (currently 1.21.31.04)
|
|
RUN wget -O server.zip --user-agent "Mozilla/5.0" https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.31.04.zip
|
|
RUN unzip server.zip && rm server.zip
|
|
|
|
COPY --chown=ubuntu:ubuntu entry.sh ./
|
|
COPY --chown=ubuntu:ubuntu server.properties ./
|
|
COPY --chown=ubuntu:ubuntu permissions.json ./
|