From 22f3dbd47b531667e10f1b578f39c4a710ced3e9 Mon Sep 17 00:00:00 2001 From: Mike Benner <36419818+mikebenner@users.noreply.github.com> Date: Mon, 21 Oct 2024 22:27:49 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 968755a..482d029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN npm install -g tsx COPY . . -RUN git clone https://github.com/meshtastic/protobufs.git src/protobufs +# Remove existing 'src/protobufs' if it exists, then clone the repository +RUN rm -rf src/protobufs && git clone https://github.com/meshtastic/protobufs.git src/protobufs -CMD [ "tsx", "index.ts" ] \ No newline at end of file +CMD [ "tsx", "index.ts" ]