From 7049260709248b0d25ff9ac4808fbb5a274b9dfb Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Tue, 9 Jul 2024 17:12:03 -0400 Subject: [PATCH] refactor: Add npm install and other commands to devcontainer setup --- .devcontainer/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0ab9b7dceb..80125d82f6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -28,3 +28,14 @@ RUN echo "vscode ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/vscode && \ USER vscode WORKDIR /workspaces + +# Copy package.json and package-lock.json +COPY package*.json ./ + +# Run npm install and other commands +RUN npm run reinstall && \ + npm run pull:rag && \ + npm run copy-ex + +# Set the default command +CMD ["/bin/bash"] \ No newline at end of file