From b2a224db4b5960c6c0591abae9dcdaebab06b640 Mon Sep 17 00:00:00 2001
From: Brad Larsen <bradford.larsen@praetorian.com>
Date: Mon, 2 Dec 2024 16:36:51 -0500
Subject: [PATCH] Fix Docker build

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index c3472e095..38eaad2f3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@
 FROM rust:1.77-bullseye AS chef
 # We only pay the installation cost once,
 # it will be cached from the second build onwards
-RUN cargo install cargo-chef
+RUN cargo install --locked cargo-chef
 
 WORKDIR "/noseyparker"