Fix yarn usage
This commit is contained in:
parent
d21274ef2b
commit
bfd7b2f668
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue