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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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/
|
||||||
|
|||||||
@@ -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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user