yarn.lock does not exist โ StrapiServerless docker build -t mystrapi:latest . [ + ] Building 17. 0s (9/14) => [ internal ] load build definition from Dockerfile 0. 0s => => transferring dockerfile: 37B 0. 0s => [ internal ] load .dockerignore 0. 0s => => transferring context: 34B 0. 0s => [ internal ] load metadata for docker.io/library/node:16 16. 9s => [ internal ] load build context 0. 0s => => transferring context: 12. 87kB 0. 0s => CANCELED [ 1 /10 ] FROM docker.io/library/node:16@sha256:32605ead97ed57bd39a8a7b0e919240e1a3218974dfc6965e61b54a801753131 0. 0s => => resolve docker.io/library/node:16@sha256:32605ead97ed57bd39a8a7b0e919240e1a3218974dfc6965e61b54a801753131 0. 0s => => sha256:b025e782e09fa7e1cdfab96049de130c27dd8d641c5220335d5905760e62c53f 7. 62kB / 7. 62kB 0. 0s => => sha256:32605ead97ed57bd39a8a7b0e919240e1a3218974dfc6965e61b54a801753131 1. 21kB / 1. 21kB 0. 0s => => sha256:085b1865ac9604641514610a340c6490b4c641b7370b00a75686f5bff8971688 2. 21kB / 2. 21kB 0. 0s => CACHED [ 2 /10 ] RUN apt-get update && apt-get install libvips-dev 0. 0s => CACHED [ 3 /10 ] WORKDIR /opt/ 0. 0s => CACHED [ 4 /10 ] COPY ./package.json ./ 0. 0s => ERROR [ 5 /10 ] COPY ./yarn.lock ./ 0. 0s ------ > [ 5 /10 ] COPY ./yarn.lock ./: ------ failed to compute cache key: "/yarn.lock" not found: not found and after I comment this line I found your Dockerfile in line 3 forget to add -y for argee install, here is my Dockerfile FROM node: 16 # Installing libvips-dev for sharp compatability RUN apt- get update && apt- get install -y libvips-dev ARG NODE_ENV=development ENV NODE_ENV=${NODE_ENV} WORKDIR /opt/ COPY ./package.json ./ ENV PATH /opt/node_modules/.bin:$ PATH RUN yarn config set network-timeout 600000 -g RUN yarn install WORKDIR /opt/app COPY ./ . RUN yarn build EXPOSE 1337 CMD ["yarn", "develop"]