Publish ARMv7 multi-arch Docker image

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
didoandCopilot committed 2026-10-08 08:53:51 +03:00
1 parent 4862256371
commit fe3e8809fa
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ ENV PATH="/opt/venv/bin:$PATH"
COPY requirements.txt /tmp/
COPY src/ /tmp/src/
# Prefer prebuilt wheels when available to avoid building larger compiled artifacts
RUN pip install --no-cache-dir --prefer-binary -r /tmp/requirements.txt
RUN SODIUM_INSTALL=system python -m pip install --no-cache-dir --prefer-binary -r /tmp/requirements.txt
# Strip compiled extensions and remove tests/pycache in venv to reduce size
RUN set -eux; \
@@ -52,7 +52,6 @@ build_and_push() {
echo -e "${GREEN}✅ Docker build & push successful${NC}"
echo ""
echo -e "${YELLOW}⚠️ Don't forget to create a GitHub release!${NC}"
}
# Function to show usage