FROM openjdk:8-jre EXPOSE 25565 # Updating container RUN apt-get update && \ apt-get install apt-utils --yes && \ apt-get upgrade --yes --allow-remove-essential && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* WORKDIR /minecraft RUN mkdir /data && \ wget --content-disposition https://api.modpacks.ch/public/modpack/35/174/server/linux && \ chmod u+x serverinstall_35_174 RUN yes | /minecraft/serverinstall_35_174 COPY startDocker.sh /minecraft/startDocker.sh RUN chmod +x startDocker.sh CMD /minecraft/startDocker.sh