Skip to content

Commit

Permalink
Switch to frozen lockfile rather than production
Browse files Browse the repository at this point in the history
Turbo needs optional dependencies
  • Loading branch information
tomouchuu committed Nov 5, 2023
1 parent 0787282 commit 5305efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5305efd

Please sign in to comment.