Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit 0af50eb

Browse files
committed
Run netlify version during image build
1 parent 030d7de commit 0af50eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ COPY --chown=node:node package.json /home/node/docker-netlify-cli/package.json
1414
COPY --chown=node:node yarn.lock /home/node/docker-netlify-cli/yarn.lock
1515

1616
WORKDIR /home/node/docker-netlify-cli
17-
RUN /usr/local/bin/yarn \
18-
&& /usr/local/bin/yarn cache clean
17+
RUN yarn install \
18+
&& yarn cache clean \
19+
&& netlify version
1920

2021
WORKDIR /project
2122

0 commit comments

Comments
 (0)