refactor: Add npm install and other commands to devcontainer setup

This commit is contained in:
Danny Avila 2024-07-09 17:12:03 -04:00
parent 2f6aae6392
commit 7049260709
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364

View file

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