diff --git a/backend/Dockerfile b/backend/Dockerfile index ef84d0ba9..a960e08b7 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -64,6 +64,8 @@ FROM base as build COPY ./backend/ ./ # Also copy external enities from database COPY ./database/entity/ ../database/entity/ +RUN sudo mount -o bind ./node_modules ../node_modules/ + # npm install RUN yarn install --production=false --frozen-lockfile --non-interactive # npm build