Skip to content

Commit

Permalink
fix yarn installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Jan 22, 2024
1 parent d314c88 commit 3bd6dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ RUN powershell -Command \
Expand-Archive -Path C:\\node.zip -DestinationPath C:\\Node; \
Remove-Item -Force C:\\node.zip

RUN setx /M PATH "C:/Node/node-v18.0.0-win-x64;%PATH%"
RUN setx /M PATH "C:\\Node/node-v18.0.0-win-x64;%PATH%"

ADD https://classic.yarnpkg.com/latest.msi C:\\yarn.msi
RUN powershell -Command \
Start-Process msiexec.exe -ArgumentList '/i', 'C:/yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \
Start-Process msiexec.exe -ArgumentList '/i', 'C:\\yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \
Remove-Item -Force C:\\yarn.msi

WORKDIR /bin
Expand Down

0 comments on commit 3bd6dc4

Please sign in to comment.