1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

build: 调试

This commit is contained in:
涵曦
2024-12-18 21:36:14 +08:00
parent a510f9162e
commit b0dfb37d98
4 changed files with 24 additions and 18 deletions

View File

@@ -18,8 +18,7 @@ COPY --from=builder /app/xiaomusic.py .
COPY --from=builder /app/xiaomusic/__init__.py /base_version.py
RUN touch /app/.dockerenv
RUN mkdir -p /etc/supervisor/conf.d
COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf
COPY supervisor.conf /etc/supervisor.conf
ENV XIAOMUSIC_HOSTNAME=192.168.2.5
ENV XIAOMUSIC_PORT=8090
@@ -29,4 +28,4 @@ EXPOSE 8090
ENV TZ=Asia/Shanghai
ENV PATH=/app/.venv/bin:$PATH
CMD ["/usr/bin/supervisord", "-n"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor.conf"]