-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,312 changed files
with
59,578 additions
and
41,559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,36 @@ | ||
{ | ||
"plugins": [ | ||
"@stylistic" | ||
], | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:@stylistic/recommended-extends" | ||
], | ||
"rules": { | ||
"@stylistic/indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
"plugins": ["@stylistic"], | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:@stylistic/recommended-extends" | ||
], | ||
"@stylistic/no-tabs": "error", | ||
"@stylistic/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@stylistic/eol-last": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/multiline-ternary": "off", | ||
"@stylistic/semi": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/quotes": "off", | ||
"@stylistic/comma-dangle": "off", | ||
"@stylistic/brace-style": [ | ||
"error", | ||
"1tbs" | ||
] | ||
} | ||
} | ||
"rules": { | ||
"@stylistic/indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"@stylistic/no-tabs": "error", | ||
"@stylistic/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@stylistic/eol-last": ["error", "always"], | ||
"@stylistic/multiline-ternary": "off", | ||
"@stylistic/semi": ["error", "always"], | ||
"@stylistic/quotes": "off", | ||
"@stylistic/comma-dangle": "off", | ||
"@stylistic/brace-style": ["error", "1tbs"] | ||
} | ||
} |
Oops, something went wrong.