perf: docker 镜像自带 node 环境

fixes: #1290
This commit is contained in:
Soulter
2025-04-16 21:52:26 +08:00
parent 1be5b4c7ff
commit aba18232b1
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -17,4 +17,7 @@ ENV/
.conda/
README*.md
dashboard/
data/
data/
changelogs/
tests/
.ruff_cache/
+5
View File
@@ -4,6 +4,8 @@ WORKDIR /AstrBot
COPY . /AstrBot/
RUN apt-get update && apt-get install -y --no-install-recommends \
nodejs \
npm \
gcc \
build-essential \
python3-dev \
@@ -28,3 +30,6 @@ EXPOSE 6185
EXPOSE 6186
CMD [ "python", "main.py" ]