this is how we generate our shit.

This commit is contained in:
2025-11-04 19:19:07 +02:00
parent 401805da7b
commit 0032a9535b

View File

@@ -41,16 +41,14 @@ jobs:
cd app
pyinstaller --onefile --add-data "ui:ui" wolServer.py
else
cat <<'EOF' > Dockerfile.arm
FROM arm64v8/python:3.13-slim-bullseye
echo 'FROM arm64v8/python:3.13-slim-bullseye
WORKDIR /app
COPY requirements.txt .
COPY app ./app
ENV PIP_ROOT_USER_ACTION=ignore
RUN apt-get update && apt-get install -y --no-install-recommends binutils \
&& pip install -r /app/requirements.txt \
&& cd /app/app && pyinstaller --onefile --add-data "ui:ui" wolServer.py
EOF
&& cd /app/app && pyinstaller --onefile --add-data "ui:ui" wolServer.py' > Dockerfile.arm
docker buildx build --platform linux/arm64/v8 -t arm-builder --load -f Dockerfile.arm .
mkdir -p app/dist
container_id=$(docker create --platform linux/arm64/v8 arm-builder)