build: lock npm package versions
This commit is contained in:
parent
781aeca6bb
commit
7324243b4e
@ -16,7 +16,7 @@ build-src:
|
|||||||
- curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
- curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y nodejs
|
- 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
|
- mkdir -p src/gitlab.com/commento && cd src/gitlab.com/commento && ln -s $CI_PROJECT_DIR && cd $CI_PROJECT_NAME
|
||||||
- make devel
|
- make devel
|
||||||
- make prod
|
- make prod
|
||||||
|
@ -16,7 +16,7 @@ COPY ./frontend /commento-ce/frontend/
|
|||||||
WORKDIR /commento-ce/frontend/
|
WORKDIR /commento-ce/frontend/
|
||||||
|
|
||||||
RUN apk update && apk add bash make
|
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
|
RUN make prod
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user