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" ]