Files
hdk/scripts/win/docker-env.bat
2022-03-14 16:37:25 +08:00

12 lines
285 B
Batchfile

@echo off
for /F %%i in ('chdir') do ( set current_dir=%%i)
docker run ^
-ti --rm --name "composer-template" ^
-v "%current_dir%":"/srv/www" ^
-v "%USERPROFILE%\.ssh":"/root/.ssh" ^
-p 8866:80 ^
--env-file=.env ^
hyperf/hyperf:8.0-alpine-v3.12-swoole /bin/ash