From e602a305a5659824b4032cb8c6f3f5348b8d0cdd Mon Sep 17 00:00:00 2001 From: Eric McGarry Date: Wed, 11 Dec 2024 11:30:48 -0500 Subject: [PATCH] fix: docker uses lockfile --- build/docker/Dockerfile.backend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/docker/Dockerfile.backend b/build/docker/Dockerfile.backend index 733cece4a7..66e5ab3e79 100644 --- a/build/docker/Dockerfile.backend +++ b/build/docker/Dockerfile.backend @@ -75,6 +75,7 @@ WORKDIR /app COPY --from=source --chown=node:node \ /app/api/package*.json \ /app/api/tsconfig*.json \ + /app/api/yarn*.lock \ /app/api/prisma ./ # Set the NODE_ENV variable @@ -101,6 +102,7 @@ WORKDIR /app COPY --from=source --chown=node:node \ /app/api/package*.json \ /app/api/tsconfig*.json \ + /app/api/yarn*.lock \ /app/api/prisma ./ # Add only dependencies required to run the application