Skip to content

Commit ce029b9

Browse files
committed
Update dockerfile
1 parent 1fd8fb3 commit ce029b9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ COPY --chown=node:node src/ src/
66
COPY --chown=node:node yarn.lock .
77
COPY --chown=node:node package.json .
88
COPY --chown=node:node .yarnrc.yml .
9+
COPY --chown=node:node .gitmodules .
10+
11+
RUN apt-get update -y && \
12+
apt-get install -y git
13+
14+
RUN git config --global --add safe.directory /usr/src/app
15+
RUN git init
16+
RUN git submodule init
17+
RUN git submodule update
918

1019
FROM base AS builder
1120
COPY --chown=node:node tsconfig.json tsconfig.json

0 commit comments

Comments
 (0)