mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
update entrypoints
This commit is contained in:
@@ -93,7 +93,7 @@ jobs:
|
|||||||
# python -m poetry install
|
# python -m poetry install
|
||||||
- name: Build server
|
- name: Build server
|
||||||
run: |
|
run: |
|
||||||
python manage.py --build
|
python main.py --build
|
||||||
env:
|
env:
|
||||||
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
|
SWINGMUSIC_APP_VERSION: ${{ inputs.tag }}
|
||||||
- name: Rename Linux binary
|
- name: Rename Linux binary
|
||||||
|
|||||||
+2
-3
@@ -25,8 +25,7 @@ VOLUME /music
|
|||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y gcc libev-dev python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
|
||||||
RUN apt-get update && apt-get install -y gcc python3-dev -y ffmpeg libavcodec-extra gcc-aarch64-linux-gnu && \
|
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -35,4 +34,4 @@ RUN pip install -r requirements.txt
|
|||||||
ARG app_version
|
ARG app_version
|
||||||
ENV SWINGMUSIC_APP_VERSION=$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
|
# poetry install
|
||||||
# Swing gives error if this is not set. Set to version of repo you cloned.
|
# Swing gives error if this is not set. Set to version of repo you cloned.
|
||||||
export SWINGMUSIC_APP_VERSION="TAG"
|
export SWINGMUSIC_APP_VERSION="TAG"
|
||||||
python manage.py --build
|
python main.py --build
|
||||||
|
|
||||||
# rename binary
|
# rename binary
|
||||||
mv dist/swingmusic dist/swingmusic_linux_arm64
|
mv dist/swingmusic dist/swingmusic_linux_arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user