feat: 支持 Docker 部署项目
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM python:3.10.13-bullseye
|
||||
WORKDIR /AstrBot
|
||||
|
||||
COPY . /AstrBot/
|
||||
|
||||
RUN python -m pip install -r requirements.txt
|
||||
RUN python -m pip install
|
||||
|
||||
CMD [ "python", "main.py" ]
|
||||
Reference in New Issue
Block a user