diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a52d60e..90a484d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ build-src: - curl -sL https://deb.nodesource.com/setup_10.x | bash - - apt update - apt install -y nodejs - - npm install -g html-minifier uglify-js sass + - npm install -g html-minifier@3.5.7 uglify-js@3.4.1 sass@1.5.1 - mkdir -p src/gitlab.com/commento && cd src/gitlab.com/commento && ln -s $CI_PROJECT_DIR && cd $CI_PROJECT_NAME - make devel - make prod diff --git a/Dockerfile b/Dockerfile index 8864575..5c08751 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY ./frontend /commento-ce/frontend/ WORKDIR /commento-ce/frontend/ RUN apk update && apk add bash make -RUN npm install -g html-minifier uglify-js sass +RUN npm install -g html-minifier@3.5.7 uglify-js@3.4.1 sass@1.5.1 RUN make prod