You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
15 lines
313 B
Batchfile
15 lines
313 B
Batchfile
|
|
@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
|