From 797296e0fe5d7d57e6834a7fd459f6ce3a289e33 Mon Sep 17 00:00:00 2001 From: Cogent Apps Date: Tue, 21 Mar 2023 00:30:36 +0000 Subject: [PATCH] install git --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 32079a61..c4a401bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM node:19-alpine AS build RUN addgroup -S app && adduser -S app -G app RUN mkdir /app && chown app:app /app +RUN apk add --update --no-cache git + USER app WORKDIR /app @@ -19,7 +21,6 @@ COPY ./app/src ./src ENV NODE_ENV=production ENV REACT_APP_AUTH_PROVIDER=local -RUN apk add --update --no-cache git RUN npm run build FROM node:19-alpine AS server