diff --git a/backend/Dockerfile b/backend/Dockerfile index 4dfe1c10f..0a31d13b8 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -64,11 +64,14 @@ FROM base as build COPY ./backend/ ./ # Also copy external enities from database COPY ./database/entity/ ../database/entity/ -RUN mkdir -p ../node_modules/ -RUN sudo mount -o bind ./node_modules ../node_modules/ +# RUN mkdir -p ../node_modules/ +# RUN sudo mount -o bind ./node_modules ../node_modules/ # npm install RUN yarn install --production=false --frozen-lockfile --non-interactive + +COPY ./backend/node_modules ../node_modules + # npm build RUN yarn run build