Update .gitignore and change Dockerfile workdir

Added MaiBot-dev.code-workspace to .gitignore to prevent it from being tracked. Changed the working directory in the Dockerfile from /MaiMBot to /mmc for consistency or project structure update.
This commit is contained in:
雅诺狐
2025-08-17 12:16:33 +08:00
parent 5e2485dde0
commit dec56949b3
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -16,6 +16,7 @@ MaiBot-Napcat-Adapter-main
MaiBot-Napcat-Adapter MaiBot-Napcat-Adapter
/test /test
uv.lock uv.lock
MaiBot-dev.code-workspace
/log_debug /log_debug
/src/test /src/test
nonebot-maibot-adapter/ nonebot-maibot-adapter/

View File

@@ -2,7 +2,7 @@ FROM python:3.13.5-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# 工作目录 # 工作目录
WORKDIR /MaiMBot WORKDIR /mmc
# 复制依赖列表 # 复制依赖列表
COPY requirements.txt . COPY requirements.txt .