copy also database project as a whole into docker image

This commit is contained in:
Ulf Gebhardt 2021-10-11 12:33:31 +02:00
parent 6cc46bf2d4
commit 84fc7bd601
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -60,10 +60,10 @@ CMD /bin/sh -c "yarn install && yarn run dev"
##################################################################################
FROM base as build
# Copy everything
# Copy everything from backend
COPY ./backend/ ./
# Also copy external enities from database
COPY ./database/entity/ ../database/entity/
# Copy everything from database
COPY ./database/ ../database/
# npm install
RUN yarn install --production=false --frozen-lockfile --non-interactive