Added forge server configs

This commit is contained in:
Jef Roosens 2020-12-30 14:02:22 +01:00
parent dd41150ee1
commit fa44bd7b0c
5 changed files with 85 additions and 4 deletions

View file

@ -8,11 +8,11 @@ WORKDIR /mc
RUN mkdir worlds config
# Download installer jar
ADD "https://maven.fabricmc.net/net/fabricmc/fabric-installer/$FABRIC_VERSION/fabric-installer-$FABRIC_VERSION.jar" fabric-installer.jar
ADD "https://maven.fabricmc.net/net/fabricmc/fabric-installer/$FABRIC_VERSION/fabric-installer-$FABRIC_VERSION.jar" installer.jar
# Install fabric, sign eula & remove installer
RUN java -jar fabric-installer.jar server -downloadMinecraft && \
rm fabric-installer.jar
# Install fabric & remove installer
RUN java -jar installer.jar server -downloadMinecraft && \
rm installer.jar
# Store the cache in an anonymous volume, which means it won't get stored in the other volumes
VOLUME /mc/config/cache