File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1+ node_modules
2+ architecture.svg
3+ ecosystem.config.js
Original file line number Diff line number Diff line change 99 name : Build Lighthouse Image
1010 runs-on : ubuntu-18.04
1111
12- strategy :
13- matrix :
14- node-version : [15.x]
15-
1612 steps :
1713 - uses : actions/checkout@v2
1814 with :
Original file line number Diff line number Diff line change @@ -13,9 +13,14 @@ RUN apt-get update \
1313 && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \
1414 && chmod +x /usr/sbin/wait-for-it.sh
1515
16- COPY . /home/app
1716WORKDIR /home/app
1817
19- RUN npm install
20- RUN npm install -g pm2
18+ COPY ./package.json /home/app/package.json
19+ COPY ./yarn.lock /home/app/yarn.lock
20+
21+ RUN yarn --frozen-lockfile
22+ RUN yarn global add pm2
23+
24+ COPY . /home/app
25+
2126CMD [ "node" , "src/index.js" ]
You can’t perform that action at this time.
0 commit comments