Skip to content

Commit 370ed91

Browse files
authored
Install npm versions of plus1 (#4154)
1 parent 81c41bc commit 370ed91

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docker/Dockerfile-plus1

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@ FROM sitespeedio/sitespeed.io:${version}
33

44
ENV SITESPEED_IO_BROWSERTIME__XVFB true
55
ENV SITESPEED_IO_BROWSERTIME__DOCKER true
6-
ENV SITESPEED_IO_PLUGINS__ADD /lighthouse/index.js,/gpsi/lib/index.js
6+
ENV SITESPEED_IO_PLUGINS__ADD @sitespeed.io/plugin-lighthouse,@sitespeed.io/plugin-gpsi
77

88
RUN sudo apt-get update && sudo apt-get install git -y
99
RUN node --version
1010
RUN npm --version
11-
WORKDIR /gpsi
12-
RUN git clone https://github.com/sitespeedio/plugin-gpsi.git .
13-
RUN npm install --production
1411

15-
WORKDIR /lighthouse
16-
RUN git clone https://github.com/sitespeedio/plugin-lighthouse.git .
17-
RUN npm install --production
12+
RUN npm install @sitespeed.io/plugin-lighthouse -g --production
13+
RUN npm install @sitespeed.io/plugin-gpsi -g --production
1814

1915
VOLUME /sitespeed.io
20-
WORKDIR /sitespeed.io
16+
WORKDIR /sitespeed.io

0 commit comments

Comments
 (0)