Fix yarn usage

This commit is contained in:
Adria Navarro 2023-06-07 09:15:11 +01:00
parent d21274ef2b
commit bfd7b2f668
1 changed files with 2 additions and 2 deletions

View File

@ -11,13 +11,13 @@ RUN chmod +x /cleanup.sh
# build server # build server
WORKDIR /app WORKDIR /app
ADD packages/server . ADD packages/server .
COPY dist/yarn.lock . COPY yarn.lock .
RUN yarn install --production=true && /cleanup.sh RUN yarn install --production=true && /cleanup.sh
# build worker # build worker
WORKDIR /worker WORKDIR /worker
ADD packages/worker . ADD packages/worker .
COPY dist/yarn.lock . COPY yarn.lock .
RUN yarn install --production=true && /cleanup.sh RUN yarn install --production=true && /cleanup.sh
FROM budibase/couchdb FROM budibase/couchdb