Skip to content

Commit 37a4458

Browse files
committed
update entrypoints
1 parent 8b0f40e commit 37a4458

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# python -m poetry install
9494
- name: Build server
9595
run: |
96-
python manage.py --build
96+
python main.py --build
9797
env:
9898
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
9999
- name: Rename Linux binary

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ VOLUME /music
2525

2626
VOLUME /config
2727

28-
29-
RUN apt-get update && apt-get install -y gcc python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
28+
RUN apt-get update && apt-get install -y gcc libev-dev python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
3029
apt-get clean && \
3130
rm -rf /var/lib/apt/lists/*
3231

@@ -35,4 +34,4 @@ RUN pip install -r requirements.txt
3534
ARG app_version
3635
ENV SWINGMUSIC_APP_VERSION=$app_version
3736

38-
ENTRYPOINT ["python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
37+
ENTRYPOINT ["python", "main.py", "--host", "0.0.0.0", "--config", "/config"]

aarch64_buildscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cd ../swingmusic
4444
# poetry install
4545
# Swing gives error if this is not set. Set to version of repo you cloned.
4646
export SWINGMUSIC_APP_VERSION="TAG"
47-
python manage.py --build
47+
python main.py --build
4848

4949
# rename binary
5050
mv dist/swingmusic dist/swingmusic_linux_arm64

0 commit comments

Comments
 (0)