挂载本地图片路径

This commit is contained in:
XinWei 2024-10-16 14:48:58 +08:00
parent af92c1ca00
commit df69d98073

View File

@ -13,4 +13,4 @@ docker rm ${app_name}
#echo '----rm image----'
#docker rmi -f "${app_name}:${app_version}"
echo '----start container----'
docker run -d -p 6127:6127 --name ${app_name} --restart always "${app_repository}/${app_name}:${app_version}"
docker run -d -p 6127:6127 --name ${app_name} -v /home/mallpic:/home/mallpic--restart always "${app_repository}/${app_name}:${app_version}"