Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Bergendahl committed Feb 8, 2024
1 parent af76744 commit 3152b6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ENV HOME "c:\steamcmd"
# Create system user
RUN New-LocalUser -Name "steamcmd" -NoPassword -AccountNeverExpires -UserMayNotChangePassword | Set-LocalUser -PasswordNeverExpires $true

RUN ["cmd.exe" , "/c", "schtasks /create /tn test /tr \"cmd /c xcopy C:\\steamcmd\\steamapps\\common\\EnshroudedServer\\*.* X:\\destination\\ /E /H /Y\" /sc weekly /d MON /st 00:00 /ru system"]

# Switch to user
USER steamcmd

Expand Down

0 comments on commit 3152b6d

Please sign in to comment.