diff --git a/Dockerfile b/Dockerfile index c135e24..ab75064 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM node:16-alpine +RUN apk add --no-cache docker-cli python3 && \ + apk add --no-cache --virtual .docker-compose-deps python3-dev py3-pip libffi-dev openssl-dev gcc libc-dev make cargo && \ + pip3 install docker-compose && \ + apk del .docker-compose-deps + WORKDIR /app ENV NODE_ENV=production diff --git a/Jenkinsfile b/Jenkinsfile index 71661ce..9edf88b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,7 +55,7 @@ node { } } - stage('Cleanup'){ + stage('Cleanup') { echo 'prune and cleanup' sh 'npm prune' sh 'rm node_modules -rf'