We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e50fc commit 062f0feCopy full SHA for 062f0fe
Dockerfile
@@ -23,13 +23,14 @@ RUN npm install --omit=dev \
23
24
FROM base as app
25
26
-RUN git config --global --add safe.directory /filesOnServer
27
-
28
ARG APP_BUILD_VERSION
29
ENV APP_VERSION=$APP_BUILD_VERSION
30
31
USER 1000
32
+# https://stackoverflow.com/a/78818156/1469797
+RUN git config --global --add safe.directory "/filesOnServer" && git config --global --add safe.directory "/filesOnServer/*"
33
+
34
WORKDIR /usr/src/app
35
36
COPY --chown=node:node --from=builder /usr/src/app /usr/src/app
0 commit comments