Minecraft server packaged for cloudron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
659 B

FROM cloudron/base:1.0.0
RUN mkdir -p /app/code
WORKDIR /app/code
RUN apt-get update && apt-get install -y openjdk-8-jre-headless
# COPY minecraft_server.1.14.4.jar /app/code
# COPY minecraft_server.jar /app/code
# https://www.minecraft.net/de-de/download/server/
# RUN curl -L https://cloud.3es.io/s/gNExpMCNS8DTT8y/download -o minecraft_server.jar
RUN curl -L https://launcher.mojang.com/v1/objects/d0d0fe2b1dc6ab4c65554cb734270872b72dadd6/server.jar -o minecraft_server.jar
COPY frontend /app/code/frontend
COPY backend /app/code/backend
COPY index.js package.json package-lock.json start.sh /app/code/
RUN npm install
CMD [ "/app/code/start.sh" ]