Skip to content

Commit

Permalink
add git in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed May 15, 2024
1 parent 92eb7ce commit 36757a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ARG NODE_VERSION=20.13.1

FROM node:${NODE_VERSION}-alpine AS base
WORKDIR /app
# add git for reading commit info in node
RUN apk add --no-cache git

FROM base AS build
COPY package.json yarn.lock ./
Expand Down

0 comments on commit 36757a0

Please sign in to comment.