Skip to content

Commit 897c063

Browse files
Fix syntheticbucketd dockerfile to support caching deps in layer
Issue: BB-295
1 parent 3e15903 commit 897c063

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
FROM node:16
22

33
RUN mkdir /app
4-
COPY * /app
4+
COPY package.json /app
5+
COPY yarn.lock /app
56
RUN cd /app && yarn install --network-concurrency 1
67

8+
COPY * /app
9+
710
CMD ["node", "/app/syntheticbucketd.js", "200000", "1000"]

0 commit comments

Comments
 (0)