update entrypoints

This commit is contained in:
cwilvx
2025-04-03 14:45:56 +03:00
parent 8b0f40ee4c
commit 37a4458755
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ jobs:
# python -m poetry install
- name: Build server
run: |
python manage.py --build
python main.py --build
env:
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
- name: Rename Linux binary
+2 -3
View File
@@ -25,8 +25,7 @@ VOLUME /music
VOLUME /config
RUN apt-get update && apt-get install -y gcc python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
RUN apt-get update && apt-get install -y gcc libev-dev python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
@@ -35,4 +34,4 @@ RUN pip install -r requirements.txt
ARG app_version
ENV SWINGMUSIC_APP_VERSION=$app_version
ENTRYPOINT ["python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
ENTRYPOINT ["python", "main.py", "--host", "0.0.0.0", "--config", "/config"]
+1 -1
View File
@@ -44,7 +44,7 @@ cd ../swingmusic
# poetry install
# Swing gives error if this is not set. Set to version of repo you cloned.
export SWINGMUSIC_APP_VERSION="TAG"
python manage.py --build
python main.py --build
# rename binary
mv dist/swingmusic dist/swingmusic_linux_arm64