From 5305efd82433a135bf0f4cb73b775b77e7b8ceb2 Mon Sep 17 00:00:00 2001 From: Thomas Moore Date: Sun, 5 Nov 2023 20:44:21 +0000 Subject: [PATCH] Switch to frozen lockfile rather than production Turbo needs optional dependencies --- apps/backend/Dockerfile | 2 +- apps/frontend/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index 548f39c..e7df85a 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -39,7 +39,7 @@ RUN bun install -g turbo # First install the dependencies (as they change less often) COPY . . -RUN bun install --production +RUN bun install --frozen-lockfile # Use build args to enable remote caching ARG TURBO_TEAM diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index c5dd334..8b29bd6 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -28,7 +28,7 @@ RUN bun install -g turbo # First install the dependencies (as they change less often) COPY . . -RUN bun install --production +RUN bun install --frozen-lockfile ARG GIT_SHA ENV HAISHIN_VERSION=$GIT_SHA