Fix yarn usage
This commit is contained in:
parent
d21274ef2b
commit
bfd7b2f668
|
@ -11,13 +11,13 @@ RUN chmod +x /cleanup.sh
|
|||
# build server
|
||||
WORKDIR /app
|
||||
ADD packages/server .
|
||||
COPY dist/yarn.lock .
|
||||
COPY yarn.lock .
|
||||
RUN yarn install --production=true && /cleanup.sh
|
||||
|
||||
# build worker
|
||||
WORKDIR /worker
|
||||
ADD packages/worker .
|
||||
COPY dist/yarn.lock .
|
||||
COPY yarn.lock .
|
||||
RUN yarn install --production=true && /cleanup.sh
|
||||
|
||||
FROM budibase/couchdb
|
||||
|
|
Loading…
Reference in New Issue