fix docker build

This commit is contained in:
涵曦 2023-10-15 11:15:02 +08:00
parent 41e579d782
commit 47932000be
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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