Add yarn.lock in single image docker
This commit is contained in:
parent
fe9a220717
commit
d1af3f930e
|
@ -11,11 +11,13 @@ RUN chmod +x /cleanup.sh
|
|||
# build server
|
||||
WORKDIR /app
|
||||
ADD packages/server .
|
||||
COPY dist/yarn.lock .
|
||||
RUN yarn install --frozen-lockfile --production=true && /cleanup.sh
|
||||
|
||||
# build worker
|
||||
WORKDIR /worker
|
||||
ADD packages/worker .
|
||||
COPY dist/yarn.lock .
|
||||
RUN yarn install --frozen-lockfile --production=true && /cleanup.sh
|
||||
|
||||
FROM budibase/couchdb
|
||||
|
|
Loading…
Reference in New Issue