Skip to content

Commit 69e50fc

Browse files
committed
fix: Make safe directory for git to avoid ownership error
1 parent 70c2514 commit 69e50fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN npm install --omit=dev \
2323

2424
FROM base as app
2525

26+
RUN git config --global --add safe.directory /filesOnServer
27+
2628
ARG APP_BUILD_VERSION
2729
ENV APP_VERSION=$APP_BUILD_VERSION
2830

0 commit comments

Comments
 (0)