mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
update entrypoints
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user