Spaces:
Build error
Build error
Download Dockerfile from SoUmNerd/RemoteMojo: direct link, hf CLI and curl.
- Browser
- Download file 357 Bytes
-
https://huggingface.co/spaces/SoUmNerd/RemoteMojo/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SoUmNerd/RemoteMojo/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SoUmNerd/RemoteMojo/resolve/main/Dockerfile
357 Bytes
| FROM ubuntu:latest | |
| RUN apt-get update | |
| RUN apt-get install -y curl && apt-get install -y python3 && apt-get install -y python3-pip | |
| RUN pip install fastapi uvicorn | |
| RUN curl https://get.modular.com | \ | |
| MODULAR_AUTH=mut_e87f7861fb9a4d4aa311afb0491b0398 sh - | |
| RUN modular install mojo | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |