remove sudo?

This commit is contained in:
Ulf Gebhardt 2021-10-09 14:11:45 +02:00
parent db3f3ad13d
commit 5f3c0f4e7d
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -64,7 +64,7 @@ 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 sudo mount -o bind ./node_modules ../node_modules/ RUN 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