diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 5552f36..88f6046 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -49,7 +49,9 @@ jobs: 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 \ - && mkdir -p /output && cp dist/wolServer /output/' > Dockerfile + && mkdir -p /output && cp /app/app/dist/wolServer /output/ \ + FROM scratch + COPY --from=0 /output /output' > Dockerfile docker buildx build --platform linux/arm64/v8 --output type=local,dest=app/dist . fi