diff --git a/Dockerfile b/Dockerfile index 66d0f068..d9d29de7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,11 +19,13 @@ RUN powershell -Command echo "Downloading Vulkan SDK..." RUN powershell -Command Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-sdk.exe -OutFile VulkanSDK-Installer.exe RUN powershell -Command echo "Installing Vulkan SDK..." -RUN powershell -Command Start-Process -Wait -FilePath .\VulkanSDK-Installer.exe -ArgumentList '/S' +RUN powershell -Command Start-Process -Wait -PassThru -FilePath .\VulkanSDK-Installer.exe -ArgumentList -ArgumentList '--accept-licenses', '--default-answer', '--confirm-command', 'install', '--root', 'C:\VulkanSDKCustom' RUN powershell -Command echo "Removing Vulkan SDK installer..." RUN powershell -Command Remove-Item -Force VulkanSDK-Installer.exe +RUN cd C:\VulkanSDKCustom && ls + # build scene-lod FROM base as scene-lod-build @@ -80,7 +82,7 @@ RUN setx /M PATH "%PATH%;C:\Node\node-v18.0.0-win-x64" WORKDIR /app # Copy Vulkan dll -COPY --from=base /bin/VulkanSDK/Bin/vulkan-1.dll . +COPY --from=base /VulkanSDKCustom/vulkan-1.dll . COPY --from=dotnet-build /app/api/publish/DCL_PiXYZ.exe .