Update Dockerfile
Browse files43 unmodified lines444546474849506 unmodified lines5758596061626343 unmodified linesRUN wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/backup.sh# Check if worlds.zip exists before downloadingRUN wget --spider https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && \wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && unzip worlds.zip|| \echo "worlds.zip not found, skipping download."RUN convert server-icon.png -resize 64x64 server-icon.pngRUN sed -i 's/\r$//' playit.sh6 unmodified linesEXPOSE 7860# Setup plugins' configsRUN unzip configs.zip# Entrypoint CommandsCMD python -m http.server 7860 > /dev/null 2>&1 & ./sshx43 unmodified lines444546474849506 unmodified lines5758596061626343 unmodified linesRUN wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/backup.sh# Check if worlds.zip exists before downloadingRUN wget --spider https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && \wget https://raw.githubusercontent.com/KnoxTheDev/main-server/refs/heads/main/worlds.zip && unzip worlds.zip && rm worlds.zip || \echo "worlds.zip not found, skipping download."RUN convert server-icon.png -resize 64x64 server-icon.pngRUN sed -i 's/\r$//' playit.sh6 unmodified linesEXPOSE 7860# Setup plugins' configsRUN unzip configs.zip && rm configs.zip# Entrypoint CommandsCMD python -m http.server 7860 > /dev/null 2>&1 & ./sshx
Dockerfile+2-2