Ajout de l'image docker strapi pour eviter la compilation à chaquer fois

This commit is contained in:
2024-10-30 02:15:19 +01:00
parent 315c9caa85
commit 49cde69b85
2 changed files with 1 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ if command -v docker &> /dev/null; then
cd /home/$USER/docker/strapi
read -p "Voulez-vous installer l'image déjà compilée ? (o/n) " response
if [[ $response =~ ^[Oo]$ ]]; then
curl -o strapi.tar https://ganesh.turing.untypequicode.fr/untypequicode/strapi/raw/branch/main/strapi.tar
curl -o strapi.tar https://ganesh.turing.untypequicode.fr/untypequicode/script-vps/raw/branch/main/strapi.tar
docker load -i strapi.tar
rm strapi.tar
else