update volume creation

This commit is contained in:
Matthew Tran
2024-09-16 08:51:19 +00:00
parent b714e2895b
commit 2107249f47
12 changed files with 68 additions and 55 deletions
+5 -6
View File
@@ -3,14 +3,13 @@ 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
USER ubuntu
WORKDIR /home/ubuntu
# 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 ./
COPY --chown=ubuntu:ubuntu entry.sh ./
COPY --chown=ubuntu:ubuntu server.properties ./
COPY --chown=ubuntu:ubuntu permissions.json ./