Ollama keeps building, doesn't start

Hi guys, I want to run Ollama in HF Space. when I tried to deploy using this Dockerfile, I just kept building. it never ruined.

FROM ubuntu
RUN apt-get update
RUN apt-get install -y curl
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN ollama serve
RUN ollama pull qwen: 0.5b
CMD ollama run qwen: 0.5b
EXPOSE 11434

Here is the space link-