feat(image-build): improve build time by caching

This commit is contained in:
ItzCrazyKns 2024-10-03 10:41:05 +05:30
parent 66f1e19ce8
commit 1680a1786e
3 changed files with 34 additions and 10 deletions

View file

@ -10,7 +10,7 @@ COPY yarn.lock /home/perplexica/
RUN mkdir /home/perplexica/data
RUN yarn install
RUN yarn install --frozen-lockfile
RUN yarn build
CMD ["yarn", "start"]