From 7370cec5a807c59734b9839453f3d8d683a7a61f Mon Sep 17 00:00:00 2001 From: Mikucat Date: Sun, 4 Feb 2024 16:54:53 +0800 Subject: [PATCH] pref(ci): mount .git instead of copy --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea60aac..9c86d18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app RUN apk add --no-cache git -COPY .git .git/ COPY package.json yarn.lock ./ RUN yarn install COPY build/ build/ @@ -14,7 +13,7 @@ COPY deploy/ deploy/ COPY src/ src/ COPY static/ static/ COPY .babelrc .postcssrc.js ./ -RUN <