diff --git a/Dockerfile b/Dockerfile index 1bdb54e11..2c61166a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,12 @@ ENV PATH $PATH:/usr/src/app/node_modules/.bin WORKDIR /usr/src/app -COPY package*.json ./ +COPY package*.json prisma/ ./ # CI and release builds should use npm ci to fully respect the lockfile. # Local development may use npm install for opportunistic package updates. ARG npm_install_command=ci -RUN npm $npm_install_command --unsafe-perm +RUN npm $npm_install_command COPY . .