diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d01d0fb346af1977dfe5b6dfeccee3540ee25ef..391149a0affa7e5808abe74e9fbed75dcac7a14e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,6 @@ bundle_and_test:
     - apt-get install -y curl
     - curl -sL https://deb.nodesource.com/setup_10.x | bash -
     - apt-get install -y nodejs
-    # - apt-get install -y npm
-    - apt-get install -y build-essential
     - npm install -g @apidevtools/swagger-cli
 
   script:
@@ -45,7 +43,10 @@ test_api:
 pages:
   stage: deploy
   before_script:
-    # - apt install -y nodejs npm
+    - apt-get update
+    - apt-get install -y curl
+    - curl -sL https://deb.nodesource.com/setup_10.x | bash -
+    - apt-get install -y nodejs
     - npm install swagger-ui-dist@3.22.1
   script:
     - cp -rp node_modules/swagger-ui-dist/* ./public