Skip to content

Docker Failed to build #9

@aryanraj2713

Description

@aryanraj2713
 > [5/5] RUN python main.py:
6.724 Illegal instruction
------

 1 warning found (use docker --debug to expand):
 - InvalidBaseImagePlatform: Base image registry.hf.space/microsoft-omniparser:latest was pulled with platform "linux/amd64", expected "linux/arm64" for current build (line 1)
Dockerfile:15
--------------------
  13 |
  14 |     COPY main.py main.py
  15 | >>> RUN python main.py
  16 |     CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
--------------------
ERROR: failed to solve: process "/bin/sh -c python main.py" did not complete successfully: exit code: 132

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/df3zzrjxkqxhs7kgcfm5bue3y



OS : MacOS 15.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions