adding arm64 arch to the build

This commit is contained in:
LangChain4j 2023-12-24 09:52:10 +01:00
parent b92077f1c8
commit f8ef7caa75
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM ollama/ollama:latest
FROM --platform=$BUILDPLATFORM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull phi"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]