hey, what's that over there?!
This commit is contained in:
@@ -41,18 +41,17 @@ jobs:
|
||||
cd app
|
||||
pyinstaller --onefile --add-data "ui:ui" wolServer.py
|
||||
else
|
||||
docker buildx build --platform linux/arm64/v8 -t arm-builder --load --file - . <<EOF
|
||||
cat <<'EOF' > Dockerfile.arm
|
||||
FROM arm64v8/python:3.13-slim-bullseye
|
||||
WORKDIR /app
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
COPY app /app/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 \
|
||||
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
|
||||
&& cd /app/app && pyinstaller --onefile --add-data "ui:ui" wolServer.py
|
||||
EOF
|
||||
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)
|
||||
docker cp $container_id:/app/app/dist/wolServer app/dist/wolServer
|
||||
|
||||
Reference in New Issue
Block a user