Nodiw52992 commited on
Commit
13a219b
·
verified ·
1 Parent(s): 6427afd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -44,7 +44,7 @@ RUN wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/mai
44
  RUN wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/backup.sh
45
  # Check if worlds.zip exists before downloading
46
  RUN wget --spider https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && \
47
- wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && unzip worlds.zip|| \
48
  echo "worlds.zip not found, skipping download."
49
  RUN convert server-icon.png -resize 64x64 server-icon.png
50
  RUN sed -i 's/\r$//' playit.sh
@@ -57,7 +57,7 @@ RUN pip install --no-cache-dir requests
57
  EXPOSE 7860
58
 
59
  # Setup plugins' configs
60
- RUN unzip configs.zip
61
 
62
  # Entrypoint Commands
63
  CMD python -m http.server 7860 > /dev/null 2>&1 & ./sshx
 
44
  RUN wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/backup.sh
45
  # Check if worlds.zip exists before downloading
46
  RUN wget --spider https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && \
47
+ wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && unzip worlds.zip && rm worlds.zip || \
48
  echo "worlds.zip not found, skipping download."
49
  RUN convert server-icon.png -resize 64x64 server-icon.png
50
  RUN sed -i 's/\r$//' playit.sh
 
57
  EXPOSE 7860
58
 
59
  # Setup plugins' configs
60
+ RUN unzip configs.zip && rm configs.zip
61
 
62
  # Entrypoint Commands
63
  CMD python -m http.server 7860 > /dev/null 2>&1 & ./sshx