Files
UnrealEngineUWP/Engine/Source/Programs/WebTests/WebServer/dockerbuildandrun.bat
lorry li 37478dc95c Added new test project WebTests;
Added http test cases;
Add the onlinetests web server created using django.

#jira UE-182678
[REVIEW] [at]alejandro.aguilar [at]michael.kirzinger [at]stephen.ma
#rb [at]stephen.ma

[CL 25631147 by lorry li in ue5-main branch]
2023-05-25 17:56:06 -04: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