mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
copy modules after install
This commit is contained in:
parent
f8addaf371
commit
13aa6772ea
@ -64,11 +64,14 @@ FROM base as build
|
|||||||
COPY ./backend/ ./
|
COPY ./backend/ ./
|
||||||
# Also copy external enities from database
|
# Also copy external enities from database
|
||||||
COPY ./database/entity/ ../database/entity/
|
COPY ./database/entity/ ../database/entity/
|
||||||
RUN mkdir -p ../node_modules/
|
# RUN mkdir -p ../node_modules/
|
||||||
RUN sudo mount -o bind ./node_modules ../node_modules/
|
# RUN sudo mount -o bind ./node_modules ../node_modules/
|
||||||
|
|
||||||
# npm install
|
# npm install
|
||||||
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||||
|
|
||||||
|
COPY ./backend/node_modules ../node_modules
|
||||||
|
|
||||||
# npm build
|
# npm build
|
||||||
RUN yarn run build
|
RUN yarn run build
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user