mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 13:48:51 +01:00
refactor: Add npm install and other commands to devcontainer setup
This commit is contained in:
parent
2f6aae6392
commit
7049260709
1 changed files with 11 additions and 0 deletions
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue