Skip to content

Commit

Permalink
Set node location for Azure pipelines (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe authored Jan 5, 2024
1 parent 4817f63 commit 5245c86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/alpine/3.19/WithNode/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ FROM mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-local

RUN apk update && apk add --no-cache nodejs npm

# Add label for bring your own node in azure devops
LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"

# Set node as a default command
CMD [ "node" ]

0 comments on commit 5245c86

Please sign in to comment.