Compare commits
6 Commits
v1.0.15-ma
...
v1.0.21-ma
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bd62d31298 | ||
![]() |
b1cf5fb638 | ||
![]() |
1d6a2a9a60 | ||
![]() |
455be2393e | ||
![]() |
6131a9003b | ||
![]() |
2a17c4bc09 |
17
Dockerfile
17
Dockerfile
@@ -1,17 +0,0 @@
|
||||
FROM mcr.microsoft.com/windows/servercore:ltsc2022
|
||||
|
||||
USER ContainerAdministrator
|
||||
ADD https://aka.ms/highdpimfc2013x64enu vc_redist2013.exe
|
||||
ADD https://aka.ms/vs/16/release/vc_redist.x64.exe vc_redist.exe
|
||||
|
||||
RUN vc_redist2013.exe /passive /norestart
|
||||
RUN vc_redist.exe /passive /norestart
|
||||
RUN del vc_redist2013.exe && del vc_redist.exe
|
||||
|
||||
USER ContainerUser
|
||||
COPY . .
|
||||
ENV TORCH_GAME_PATH="c:\dedi"
|
||||
ENV TORCH_INSTANCE="c:\instance"
|
||||
ENV TORCH_SERVICE="true"
|
||||
ENTRYPOINT ["Torch.Server.exe"]
|
||||
CMD ["-noupdate"]
|
@@ -11,7 +11,7 @@ platform: x64
|
||||
shallow_clone: true
|
||||
assembly_info:
|
||||
patch: true
|
||||
file: '**\AssemblyInfo.*'
|
||||
file: '**\AssemblyVersion.*'
|
||||
assembly_version: '{version}'
|
||||
assembly_file_version: '{version}'
|
||||
assembly_informational_version: v{version}
|
||||
@@ -37,7 +37,11 @@ install:
|
||||
|
||||
& "$steamCMDPath/steamcmd.exe" "+login anonymous" "+force_install_dir $steamData" "+app_update 298740" "+quit"
|
||||
|
||||
$dataPath = $steamData.Replace("/", "\")
|
||||
$dataPath = $steamData.Replace("/", "\");
|
||||
$contentPath = "$dataPath\Content";
|
||||
if (Test-Path $contentPath) {
|
||||
Remove-Item -LiteralPath $contentPath -Force -Recurse
|
||||
}
|
||||
|
||||
cmd /S /C mklink /J .\GameBinaries $dataPath\DedicatedServer64
|
||||
cache:
|
||||
|
Reference in New Issue
Block a user