Compare commits
3 Commits
74fa6f7b34
...
62809862c5
Author | SHA1 | Date | |
---|---|---|---|
62809862c5 | |||
7a749c051e | |||
608339c8f7 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/app
|
||||
/data
|
||||
GT_New_Horizons_2.4.0_Server_Java_17-20.zip
|
@ -1,6 +1,8 @@
|
||||
FROM openjdk:20
|
||||
COPY app /app
|
||||
ADD https://github.com/GTNewHorizons/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.jar
|
||||
ADD https://mediafilez.forgecdn.net/files/2291/494/FTBUtilities-1.7.10-1.0.18.3.jar /app/mods/FTBUtilities-1.7.10-1.0.18.3.jar
|
||||
ADD https://mediafilez.forgecdn.net/files/2291/433/FTBLib-1.7.10-1.0.18.3.jar /app/mods/FTBLib-1.7.10-1.0.18.3.jar
|
||||
COPY prepare_environment.sh startserver.sh /app/
|
||||
RUN mkdir -p /data
|
||||
WORKDIR /app
|
||||
|
@ -3,7 +3,7 @@
|
||||
echo "eula=true" > eula.txt
|
||||
|
||||
if [ ! -f /data/.initialized ]; then
|
||||
mkdir -p /data/logs /data/World /data/crash-reports
|
||||
mkdir -p /data/logs /data/World /data/crash-reports /data/local /data/visualprospecting
|
||||
for i in "server.properties" "usercache.json" "whitelist.json" "ops.json" "config"
|
||||
do
|
||||
cp -r $i /data/
|
||||
@ -21,6 +21,8 @@ if [ ! -f /app/.initialized ]; then
|
||||
ln -s /data/logs .
|
||||
ln -s /data/World .
|
||||
ln -s /data/crash-reports .
|
||||
ln -s /data/local .
|
||||
ln -s /data/visualprospecting .
|
||||
|
||||
touch /app/.initialized
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user