build(docker): 添加 Dockerfile并更新项目结构

- 新增 Dockerfile 用于构建和运行项目
- 更新 index.html 文件,替换静态资源链接
- 将 requirements.txt 文件移至项目根目录- 移除 alibabacloud_sample 依赖项
- 添加 setuptools依赖项
This commit is contained in:
liuxiaoqing
2025-08-18 13:53:27 +08:00
parent 7b1910a7a7
commit c045214969
3 changed files with 22 additions and 15 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM python:latest
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
RUN python setup.py install
COPY . /app
EXPOSE 5555
CMD ["python", "/app/alibabacloud_sample/main.py"]