mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
add minecraft bedrock server
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt-get update && apt-get -y upgrade
|
||||
RUN apt-get install -y wget unzip curl
|
||||
|
||||
RUN useradd -m matt
|
||||
USER matt
|
||||
WORKDIR /home/matt
|
||||
|
||||
# from https://www.minecraft.net/en-us/download/server/bedrock (currently 1.21.23.01)
|
||||
RUN wget -O server.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.23.01.zip
|
||||
RUN unzip server.zip && rm server.zip
|
||||
|
||||
COPY --chown=matt:matt entry.sh ./
|
||||
COPY --chown=matt:matt server.properties ./
|
||||
COPY --chown=matt:matt permissions.json ./
|
||||
Reference in New Issue
Block a user