Files
hdk-core/scripts/win/docker-env.bat

12 lines
262 B
Batchfile
Raw Normal View History

2022-12-19 17:20:04 +08:00
@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 ^
php:cli-alpine /bin/ash