Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bergsv committed Feb 8, 2024
1 parent 1f8836e commit 8562d6e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ ENV HOME "c:\steamcmd"

USER ContainerAdministrator

COPY sched.bat c:\steamcmd\sched.bat
RUN c:\steamcmd\sched.bat
COPY sched.bat .
RUN .\sched.bat

# Create system user
RUN New-LocalUser -Name "steamcmd" -NoPassword -AccountNeverExpires -UserMayNotChangePassword | Set-LocalUser -PasswordNeverExpires $true
Expand All @@ -27,19 +27,19 @@ RUN New-Item -ItemType Directory "c:\steamcmd"
# Set SteamCMD working directory
WORKDIR $HOME

# Download and unpack SteamCMD archive
RUN Invoke-WebRequest http://media.steampowered.com/installer/steamcmd.zip -O c:\steamcmd\steamcmd.zip; \
Expand-Archive c:\steamcmd\steamcmd.zip -DestinationPath c:\steamcmd; \
Remove-Item c:\steamcmd\steamcmd.zip
# # Download and unpack SteamCMD archive
# RUN Invoke-WebRequest http://media.steampowered.com/installer/steamcmd.zip -O c:\steamcmd\steamcmd.zip; \
# Expand-Archive c:\steamcmd\steamcmd.zip -DestinationPath c:\steamcmd; \
# Remove-Item c:\steamcmd\steamcmd.zip

# Update SteamCMD
RUN c:\steamcmd\steamcmd.exe +quit; exit 0
# # Update SteamCMD
# RUN c:\steamcmd\steamcmd.exe +quit; exit 0

# Install Enshrouded Server
RUN c:\steamcmd\steamcmd.exe +login anonymous +app_update 2278520 +quit; exit 0
# # Install Enshrouded Server
# RUN c:\steamcmd\steamcmd.exe +login anonymous +app_update 2278520 +quit; exit 0

# Change to Enshrouded Server Directory
WORKDIR "c:\steamcmd\steamapps\common\EnshroudedServer"
# WORKDIR "c:\steamcmd\steamapps\common\EnshroudedServer"

COPY enshrouded_server.json .

Expand Down

0 comments on commit 8562d6e

Please sign in to comment.