diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d130c9950a783f78c98046346b45556f77867fb..eb8a5a38e08e759fd5ace0fac95bade20ffdab7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: 3.7.7-buster:latest +image: python:3.7-slim-buster stages: - bundle @@ -16,7 +16,7 @@ cache: bundle_and_test: stage: bundle before_script: - - apk add --update npm + - apt install nodejs npm - npm install -g @apidevtools/swagger-cli script: @@ -40,7 +40,7 @@ test_api: pages: stage: deploy before_script: - - apk add --update npm + - apt install nodejs npm - npm install swagger-ui-dist@3.22.1 script: - cp -rp node_modules/swagger-ui-dist/* ./public