Files
UnrealEngine/Engine/Source/Programs/WebTestsServer/dockerbuildandrun.bat
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

15 lines
313 B
Batchfile
Executable File

@echo off
:: Build image
docker build . -t webtests
set CONTAINER="webtestscontainer"
:: Check if container exist and delete
docker ps -a | findstr /c:"%CONTAINER%" >nul 2>&1
if %errorlevel% equ 0 (
docker rm -f %CONTAINER%
)
:: Run container with image
docker run --name %CONTAINER% -d -p 8000:8000 webtests