From 47932000be593ca4af4279d4aaecd5a43c48df59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Sun, 15 Oct 2023 11:15:02 +0800 Subject: [PATCH] fix docker build --- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 128ceec..63401b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: build-image: runs-on: ubuntu-latest - needs: release-pypi + #needs: release-pypi # run unless event type is pull_request if: github.event_name != 'pull_request' steps: diff --git a/Dockerfile b/Dockerfile index 8953b46..b747565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ FROM python:3.10-slim WORKDIR /app COPY --from=builder /app/.venv /app/.venv +COPY --from=builder /app/ffmpeg /app/ffmpeg COPY xiaomusic/ ./xiaomusic/ COPY xiaomusic.py . -COPY ffmpeg/ ./ffmpeg/ ENV XDG_CONFIG_HOME=/config ENV XIAOMUSIC_HOSTNAME=192.168.2.5 ENV XIAOMUSIC_PORT=8090