Skip to content

Commit

Permalink
Merge branch 'develop' into fix/mordern-js
Browse files Browse the repository at this point in the history
  • Loading branch information
shengxj1 authored Jan 9, 2025
2 parents 9cf81fb + 493bdc9 commit 1c06651
Show file tree
Hide file tree
Showing 1,526 changed files with 88,132 additions and 44,267 deletions.
24 changes: 24 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
ARG NODE_VER=23.5.0
ARG BASE_IMAGE=node:${NODE_VER}
FROM $BASE_IMAGE

ENV DEBIAN_FRONTEND=noninteractive

# Install pnpm globally and install necessary build tools
RUN apt-get update \
&& apt-get install -y \
git \
python3 \
make \
g++ \
nano \
vim \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ARG PNPM_VER=9.15.2
RUN npm install -g pnpm@${PNPM_VER}

# Set Python 3 as the default python
RUN ln -s /usr/bin/python3 /usr/bin/python
ENV DEBIAN_FRONTEND=dialog
38 changes: 38 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"name": "elizaos-dev",
"dockerFile": "Dockerfile",
"build": {
"args": {
"NODE_VER": "23.5.0",
"PNPM_VER": "9.15.2"
}
},
"privileged": true,
"runArgs": [
"-p=3000:3000", // Add port for server api
"-p=5173:5173", // Add port for client
//"--volume=/usr/lib/wsl:/usr/lib/wsl", // uncomment for WSL
//"--volume=/mnt/wslg:/mnt/wslg", // uncomment for WSL
"--gpus=all", // ! uncomment for vGPU
//"--device=/dev/dxg", // uncomment this for vGPU under WSL
"--device=/dev/dri"
],
"containerEnv": {
//"MESA_D3D12_DEFAULT_ADAPTER_NAME": "NVIDIA", // uncomment for WSL
//"LD_LIBRARY_PATH": "/usr/lib/wsl/lib" // uncomment for WSL
},
"customizations": {
"vscode": {
"extensions": [
"vscode.json-language-features",
"vscode.css-language-features",
// "foxundermoon.shell-format",
// "dbaeumer.vscode-eslint",
// "esbenp.prettier-vscode"
"ms-python.python"
]
}
},
"features": {}
}
Loading

0 comments on commit 1c06651

Please sign in to comment.