From adbf2dfa6d96cdf79f26bd554ea5f1d263d10690 Mon Sep 17 00:00:00 2001 From: 4gray <4gray@users.noreply.github.com> Date: Wed, 25 Oct 2023 21:53:11 +0200 Subject: [PATCH] ci: install git in dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9a71e46..e358fcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM node:18-alpine +FROM node:18-alpine AS build # Create app directory WORKDIR /usr/src/app +# install git to clone dependency from github +RUN apk add --no-cache git + # Copy both package*.json files COPY package*.json ./