add user agent to mirror.cloudcraft.info download

This commit is contained in:
Phuong 2024-04-10 22:50:41 -04:00 committed by GitHub
parent ec8926b95c
commit 2cd283515e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ RUN APP_ICON_URL=https://stardewcommunitywiki.com/mediawiki/images/4/48/Fiddlehe
# Game + ModLoader 1.6.2 4.0.1
RUN mkdir -p /data/Stardew && \
mkdir -p /data/nexus && \
wget https://mirror.cloudcraft.info/Stardew_Valley_latest.tar.gz -qO /data/latest.tar.gz && \
wget --user-agent="Mozilla" https://mirror.cloudcraft.info/Stardew_Valley_latest.tar.gz -qO /data/latest.tar.gz && \
tar xf /data/latest.tar.gz -C /data/Stardew && \
rm /data/latest.tar.gz