fix docker builds i think

This commit is contained in:
JandereDev 2022-07-15 17:57:40 +02:00
parent b164efbe8c
commit 50c8e30ea5
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A
4 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,7 @@ WORKDIR /build/app
COPY api/package.json api/yarn.lock api/.yarnrc.yml ./
COPY api/.yarn ./.yarn
COPY lib ../lib
RUN yarn --cwd ../lib build
RUN yarn install --immutable
COPY ./api .
RUN yarn build

View file

@ -3,6 +3,7 @@ WORKDIR /build/app
COPY bot/package.json bot/yarn.lock bot/.yarnrc.yml ./
COPY bot/.yarn ./.yarn
COPY lib ../lib
RUN yarn --cwd ../lib build
RUN yarn install --immutable
COPY ./bot .
RUN yarn build

View file

@ -3,6 +3,7 @@ WORKDIR /build/app
COPY bridge/package.json bridge/yarn.lock bridge/.yarnrc.yml ./
COPY bridge/.yarn ./.yarn
COPY lib ../lib
RUN yarn --cwd ../lib build
RUN yarn install --immutable
COPY ./bridge .
RUN yarn build

View file

@ -5,6 +5,7 @@ WORKDIR /build/app
COPY web/package.json web/yarn.lock web/.yarnrc.yml ./
COPY web/.yarn ./.yarn
COPY lib ../lib
RUN yarn --cwd ../lib build
RUN yarn install --immutable
COPY web .
RUN yarn build