From 5a9b3d8e612737eebbcf9f6b1e10d8882e600429 Mon Sep 17 00:00:00 2001
From: LAMRINI Houda <houda.lamrini@etu.univ-amu.fr>
Date: Wed, 26 Feb 2025 23:58:19 +0000
Subject: [PATCH] Update image .gitlab-ci.yml file

---
 .gitlab-ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a4d93f4..dd936aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,10 @@ stages:
 
 build:
   stage: build_stage
+  image: node
   script:
-    - apt update -y
-    - apt install npm -y
+#- apt update -y
+   # - apt install npm -y
     - npm install
   artifacts:
     paths:
@@ -17,8 +18,9 @@ build:
 
 deploy:
   stage: deploy_stage
+  image : node
   script:
-    - apt update -y
-    - apt install nodejs -y
+  #  - apt update -y
+  #  - apt install nodejs -y
     - node app.js > /dev/null 2>&1 &
 
-- 
GitLab