From 86473fdf8438b1066499bd9a840b8469a10b9b38 Mon Sep 17 00:00:00 2001 From: hijiki51 Date: Fri, 29 Apr 2022 14:50:06 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20=20fix=20dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ server/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index f406591..a0a4e0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /app/client COPY . /app/client/ +RUN apk update && apk add git + RUN npm ci RUN npm run build diff --git a/server/Dockerfile b/server/Dockerfile index 98eba06..cd04a3d 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -6,6 +6,8 @@ COPY . /app/client/ WORKDIR /app/client/server +RUN apk add git + RUN npm ci RUN npm run build