更新 Dockerfile,调整 pip 安装步骤的位置以确保依赖正确安装;更新 GitHub Actions 工作流,添加空行以提高可读性。

This commit is contained in:
MR-ZC 2025-03-25 16:03:16 +08:00
parent cede6926e5
commit 4bf490e822
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ jobs:
- name: Set up Docker Buildx🔧 - name: Set up Docker Buildx🔧
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: 打包并发布镜像📦 - name: 打包并发布镜像📦
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:

View File

@ -1,7 +1,7 @@
FROM python:3.10-alpine FROM python:3.10-alpine
RUN pip install -r requirements.txt
COPY . . COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"] CMD ["python", "main.py"]